@empathyco/x-tailwindcss
Version:
Empathy X Tailwind plugin
19 lines (17 loc) • 476 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',
},
};
}
export { buttonGroupDivider };