@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
20 lines (19 loc) • 413 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.itemMapping = void 0;
var _styleHookMapping = require("../../utils/styleHookMapping");
const itemMapping = exports.itemMapping = {
checked(value) {
if (value) {
return {
'data-checked': ''
};
}
return {
'data-unchecked': ''
};
},
..._styleHookMapping.transitionStatusMapping
};