react-restyle-components
Version:
Easy use restyle components
5 lines (4 loc) • 380 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import s from '../../../../tc.module.css';
import { cn } from '../../../../core-utils';
export const ButtonGroup = ({ children, orientation = 'horizontal', className, }) => (_jsx("div", { className: cn(s.flex, orientation == 'horizontal' ? s['flex-row'] : s['flex-col'], s['w-fit'], s['gap-2'], className), children: children }));