jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
18 lines (17 loc) • 630 B
TypeScript
/// <reference types="react" />
export interface WYSIWYGTextProps {
/**
* The format for the text. If set to full_html dangerouslySetInnerHTML will be used.
*/
format?: 'full_html' | 'filtered';
/**
* The content to be displayed inside.
*/
content: string;
}
/**
* Renders full HTML Content or filtered HTML content dependin on format. Use with care.
* Full HTML could be mean potential XSS scripting vulnerability if the provider of the content
* is not trusted (admin) don't use this component.
*/
export declare const WYSIWYGText: ({ format, content }: WYSIWYGTextProps) => JSX.Element;