import { Box, type BoxProps } from "@chakra-ui/react" interface TokenDocProps extends BoxProps { action?: React.ReactNode } export const TokenDoc = (props: TokenDocProps) => { const { title, children, action, ...rest } = props return ( {title && ( {title} )} {action} {children} ) }