import React from 'react' import { theme, type TextProps } from '@latitude-data/client' type Props = TextProps & React.HTMLAttributes function Text({ align = 'left', as = 'span', capitalize = false, centered = false, color = 'foreground', ellipsis = false, leading = 'h4', lineThrough = false, size = 'h4', spacing = 'normal', underline = false, uppercase = false, weight = 'normal', whiteSpace = 'normal', wordBreak = 'normal', className, ...props }: Props) { const Element = as return ( ) } export default Text