UNPKG

@kui-shell/plugin-client-common

Version:

Kui plugin that offers stylesheets

17 lines (16 loc) 652 B
/// <reference types="react" /> /** * For html-formatted text, wrap it in an IFrame container with * padding. We set the backgroundColor of the iframe to `white` in * order to match the expectations of web pages vis-a-vis defaults. * * See https://github.com/IBM/kui/issues/7101 for why we use an iframe. * The html content will not inherit Kui's stylings. This is not possible, * and perhaps not desirable. Random HTML will have its own home-grown * stylings. In any case, there is no good way to inject random Kui stylings * into random iframes. * */ export default function HTMLString({ content }: { content: string; }): JSX.Element;