Superscriptcomponent
Superscript({ children }: SuperscriptProps): ReactElement| Param | Type | |
|---|---|---|
props | SuperscriptProps | Props for Superscript — optional children. required |
| Return | |
|---|---|
ReactElement | Rendered <sup> element. |
Superscript text — renders a <sup> element for typographically raised text (e.g. exponents, footnote markers).
Examples
<>E = mc<Superscript>2</Superscript></>