(props: HighlightProps)
| 12 | * of Prism provided to ensure the languages are correctly loaded |
| 13 | */ |
| 14 | const Highlight = (props: HighlightProps) => |
| 15 | createElement(InternalHighlight, { |
| 16 | ...props, |
| 17 | prism: props.prism || (Prism as PrismLib), |
| 18 | theme: props.theme || themes.vsDark, |
| 19 | code: props.code, |
| 20 | language: props.language, |
| 21 | }) |
| 22 | |
| 23 | export { Highlight, Prism, themes, normalizeTokens, useTokenize } |
nothing calls this directly
no outgoing calls
no test coverage detected