UNPKG

@empathyco/x-tailwindcss

Version:
21 lines (18 loc) 509 B
'use strict'; /** * 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;