* It could be a good idea to create a way to define a block's strucuture (like an interface) and * use that structure to register the block. * * @example * const textBlock = { * {text block properties here} * } * * Then this structure could be used at the moment of registering the bloc
| 21 | */ |
| 22 | |
| 23 | interface Props { |
| 24 | blockId: string |
| 25 | } |
| 26 | |
| 27 | export function TextBlock({ blockId } : Props) { |
| 28 | const { getTextInputProps, getValue, getSelection } = useTextInput(blockId); |
nothing calls this directly
no outgoing calls
no test coverage detected