You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

container.tsx 396B

12345678910111213141516171819
  1. import { cn } from '@/lib/utils';
  2. export function Container({
  3. children,
  4. className,
  5. ...props
  6. }: React.PropsWithChildren<React.HTMLAttributes<HTMLDivElement>>) {
  7. return (
  8. <div
  9. className={cn(
  10. 'px-2 py-1 bg-colors-background-inverse-standard inline-flex items-center rounded-sm gap-2',
  11. className,
  12. )}
  13. {...props}
  14. >
  15. {children}
  16. </div>
  17. );
  18. }