import * as React from 'react'; import { cn } from '#utils'; const InputGroup = ({ className, ...props }: React.ComponentProps<'div'>) => { return (
[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5', className )} data-slot="input-group" role="group" {...props} /> ); }; export { InputGroup };