mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 20:57:08 +08:00
12 lines
326 B
TypeScript
12 lines
326 B
TypeScript
import {
|
|
createUniComponentFromWebComponent,
|
|
type DataViewWidgetProps,
|
|
} from '../../core/index.js';
|
|
import { DataViewHeaderViews } from './views-view.js';
|
|
|
|
export const widgetViewsBar = createUniComponentFromWebComponent<
|
|
DataViewWidgetProps & {
|
|
onChangeView?: (viewId: string) => void;
|
|
}
|
|
>(DataViewHeaderViews);
|