/// import BlockInstruction from "../../core/blocks/BlockInstruction"; import { RenderEditProps, RenderSaveProps } from "../../core/blocks/BlockDefinition"; import { BlockConfiguration } from "@wordpress/blocks"; /** * The text input instruction. */ export default class TextInput extends BlockInstruction { options: { name: string; type: string; label: string; hideLabelFromVision: boolean; placeholder: string; }; /** * Renders editing the instruction. * * @param props The props. * * @returns The rendered instruction. */ edit(props: RenderEditProps): React.ReactElement | string; /** * Renders saving the instruction. * * @param props The props. * * @returns The element to render. */ save(props: RenderSaveProps): React.ReactElement | string; /** * Adds the select to the block configuration. * * @returns The block configuration. */ configuration(): Partial; }