12 lines
261 B
TypeScript
12 lines
261 B
TypeScript
|
import { BlockProps } from '@components/TreeElement';
|
||
|
|
||
|
export interface ParagraphData {
|
||
|
value: string;
|
||
|
}
|
||
|
|
||
|
export interface ParagraphProps extends BlockProps {
|
||
|
data: ParagraphData;
|
||
|
}
|
||
|
|
||
|
export const getDefaultData: () => ParagraphData = () => ({ value: '' });
|