SymbolGlyph

Draws one !symbol at the size and colour of the text around it.

@internote/canvas-sdk/reactComponent
On this page
import { SymbolGlyph } from '@internote/canvas-sdk/react';

The SVG is labelled rather than hidden: a symbol stands in for a word, a tick for "yes" or a house for "house", so a reader who cannot see it loses the sentence, not a decoration. An unknown name draws nothing.

#Props

Also takes className. Any other prop is passed to the rendered element.

name
The name: the author wrote. An unknown one draws nothing.
string

#Example

<SymbolGlyph name="tick" className="cnv-label-symbol" />

Declared in packages/canvas-sdk/src/content/symbols.tsx:270.

Last updated