import type { Token } from '@pandacss/token-dictionary' import * as React from 'react' import { HStack, panda, Stack } from '../../styled-system/jsx' import { TokenContent } from '../components/token-content' import { TokenGroup } from '../components/token-group' import { Input, Textarea } from './input' import { StickyTop } from './sticky-top' import { EmptyState } from './empty-state' import { TypographyIcon } from './icons' interface FontTokensProps { text?: string largeText?: boolean token: string fontTokens: Token[] css?: any } export default function FontTokens(props: FontTokensProps) { const { text: textProp = 'Hello World', largeText = false, token, fontTokens } = props const [text, setText] = React.useState(textProp) const handleChange = (event: React.ChangeEvent) => { setText(event.target.value) } if (fontTokens.length === 0) { return ( }> The panda config does not contain any `{token}` tokens ) } return ( {largeText ? (