@empathyco/x-tailwindcss
Version:
Empathy X Tailwind plugin
21 lines (18 loc) • 509 B
JavaScript
;
/**
* Returns the styles for the `button-group-divider`.
*
* @param helpers - The {@link TailwindHelpers} to generate CSS.
* @returns The {@link CssStyleOptions} for the component.
*/
function buttonGroupDivider(helpers) {
const { theme } = helpers;
return {
divider: {
borderLeft: '1px solid currentColor',
margin: `${theme('x.spacing.8')} 0`,
alignSelf: 'stretch',
},
};
}
exports.buttonGroupDivider = buttonGroupDivider;