@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
12 lines (11 loc) • 364 B
JavaScript
//#region src/buttonGroup/helpers.ts
/** Returns appropriate color for the border between the buttons. */
function getInnerBorderColor(props) {
const { disabled, variant } = props;
if (disabled) return "disabled.border";
return `${variant}`;
}
//#endregion
export { getInnerBorderColor };
globalThis.__vuiVersion__ = "5.3.1"
//# sourceMappingURL=helpers.js.map