@capgeminiuk/dcx-react-library
Version:
[](https://circleci.com/gh/Capgemini/dcx-react-library)
21 lines (20 loc) • 535 B
TypeScript
import React from 'react';
export type InsertTextProps = {
/**
* specify a custom class name to be applied to the Insert-text
*/
className?: string;
/**
*value specified by user
*/
value: 'insert text';
/**
* It will pass an id to the InsertText element
*/
id?: string;
/**
* Additional props/attributes
*/
props?: React.HTMLAttributes<HTMLDivElement>;
};
export declare const InsertText: ({ value, className, id, props, }: InsertTextProps) => React.JSX.Element;