ConfiguredMarkedInput
Defined in: packages/markput/src/types.ts:74
Extends
Section titled “Extends”FunctionComponent<MarkedInputProps<TMarkProps,TOverlayProps>>
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TMarkProps | MarkProps |
TOverlayProps | OverlayProps |
ConfiguredMarkedInput(props, deprecatedLegacyContext?): ReactNode;Defined in: packages/markput/src/types.ts:74
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
props | MarkedInputProps | - |
deprecatedLegacyContext? | any | See React Docs :::caution[Deprecated] This API is no longer supported and may be removed in a future release. ::: |
Returns
Section titled “Returns”ReactNode
Properties
Section titled “Properties”contextTypes?
Section titled “contextTypes?”optional contextTypes: ValidationMap<any>;Defined in: node_modules/.pnpm/@types+react@18.3.24/node_modules/@types/react/index.d.ts:1156
Inherited from
Section titled “Inherited from”FunctionComponent.contextTypesdefaultProps?
Section titled “defaultProps?”optional defaultProps: Partial<MarkedInputProps<TMarkProps, TOverlayProps>>;Defined in: node_modules/.pnpm/@types+react@18.3.24/node_modules/@types/react/index.d.ts:1179
Used to define default values for the props accepted by the component.
Example
Section titled “Example”type Props = { name?: string }
const MyComponent: FC<Props> = (props) => { return <div>{props.name}</div>}
MyComponent.defaultProps = { name: 'John Doe'}Inherited from
Section titled “Inherited from”FunctionComponent.defaultPropsdisplayName?
Section titled “displayName?”optional displayName: string;Defined in: node_modules/.pnpm/@types+react@18.3.24/node_modules/@types/react/index.d.ts:1198
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Example
Section titled “Example”const MyComponent: FC = () => { return <div>Hello!</div>}
MyComponent.displayName = 'MyAwesomeComponent'Inherited from
Section titled “Inherited from”FunctionComponent.displayNamepropTypes?
Section titled “propTypes?”optional propTypes: WeakValidationMap<MarkedInputProps<TMarkProps, TOverlayProps>>;Defined in: node_modules/.pnpm/@types+react@18.3.24/node_modules/@types/react/index.d.ts:1147
Used to declare the types of the props accepted by the component. These types will be checked during rendering and in development only.
We recommend using TypeScript instead of checking prop types at runtime.
Inherited from
Section titled “Inherited from”FunctionComponent.propTypes