@chakra-v2/styled-system
Version:
Style function for css-in-js building component libraries
23 lines (20 loc) • 478 B
JavaScript
;
function defineStyle(styles) {
return styles;
}
function defineStyleConfig(config) {
return config;
}
function createMultiStyleConfigHelpers(parts) {
return {
definePartsStyle(config) {
return config;
},
defineMultiStyleConfig(config) {
return { parts, ...config };
}
};
}
exports.createMultiStyleConfigHelpers = createMultiStyleConfigHelpers;
exports.defineStyle = defineStyle;
exports.defineStyleConfig = defineStyleConfig;