import * as React from 'react' import { theme } from '@latitude-data/client' import { cn } from 'src/lib/utils' import Text from '../text' import Label from '../label' export interface InputProps extends React.InputHTMLAttributes {} type Props = InputProps & { label?: string description?: string } const Input = React.forwardRef( ({ className, label, description, name, type, ...props }, ref) => { return (
{label && } {description && ( {description} )}
) }, ) Input.displayName = 'Input' export default Input