UNPKG

@capgeminiuk/dcx-react-library

Version:

[![CircleCI](https://circleci.com/gh/Capgemini/dcx-react-library.svg?style=svg)](https://circleci.com/gh/Capgemini/dcx-react-library)

21 lines (20 loc) 535 B
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;