mirror of
https://github.com/be5invis/Iosevka.git
synced 2026-10-28 00:18:43 +00:00
12 lines
439 B
TypeScript
12 lines
439 B
TypeScript
export type SyntaxHighlightTokenProps = { children: React.ReactNode };
|
|
|
|
export const Keyword = (props: SyntaxHighlightTokenProps) => (
|
|
<span className="token keyword">{props.children}</span>
|
|
);
|
|
export const Operator = (props: SyntaxHighlightTokenProps) => (
|
|
<span className="token operator">{props.children}</span>
|
|
);
|
|
export const Quote = (props: SyntaxHighlightTokenProps) => (
|
|
<span className="token quote">{props.children}</span>
|
|
);
|