import React, { PropsWithChildren } from 'react'; import styles from './styles.module.scss'; import clsx from 'clsx'; interface TokenProps { title?: string; } export function TokenPunctuation({ children, title }: PropsWithChildren) { return ( {children} ); } export function TokenPlain({ children }: PropsWithChildren<{}>) { return ( {children} ); } // Used for non-primitive types export function TokenType({ children }: PropsWithChildren<{}>) { return ( {children} ); } // Used for primitive types export function TokenPrimitive({ children }: PropsWithChildren<{}>) { return ( {children} ); } // Used for non-string literal values such as true, 12... export function TokenLiteral({ children }: PropsWithChildren<{}>) { return ( {children} ); } export function TokenAttrName({ children }: PropsWithChildren<{}>) { return ( {children} ); } export function TokenKeyword({ children }: PropsWithChildren<{}>) { return ( {children} ); }