Injects CSS from a string into the page. Returns the HTML style element inserted into the page.
Function
loadCSSFromString
View sourceimport {loadCSSFromString} from '@airtable/blocks/ui';loadCSSFromString('body { background: red; }');
Function signature
function (css: string) => HTMLStyleElement
css | The CSS string. |