schlechtenburg/packages/core/lib/components/BlockToolbar.tsx

29 lines
479 B
TypeScript
Raw Normal View History

2021-03-07 21:30:22 +00:00
import {
defineComponent,
PropType,
} from 'vue';
import { Block } from '../blocks';
import './BlockToolbar.scss';
interface BlockToolbarProps {
block: Block;
}
export const SbBlockToolbar = defineComponent({
name: 'sb-block-toolbar',
props: {
block: {
type: (null as unknown) as PropType<Block>,
required: true,
},
},
setup(props: BlockToolbarProps, context) {
return () => (
<div class="sb-block-toolbar"></div>
);
},
});