@zohodesk/components
Version:
Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development
16 lines • 407 B
JavaScript
import style from "../common/common.module.css";
let styleList = {
hide: style.hide,
isDisabled: style.disabled,
isDisable: style.disable,
isBlock: style.blockEvent,
isFlexible: style.flexgrow,
dotted: style.dotted,
vMiddle: style.yMiddle,
hMiddle: style.xMiddle,
smooth: style.ftsmooth,
clamp: style.clamp
};
export default function CssProvider(name) {
return styleList[name] || '';
}