@chakra-v2/styled-system
Version:
Style function for css-in-js building component libraries
19 lines (17 loc) • 384 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 };
}
};
}
export { createMultiStyleConfigHelpers, defineStyle, defineStyleConfig };