UNPKG

framer-motion

Version:

A simple and powerful JavaScript animation library

8 lines (6 loc) 207 B
/** * Convert camelCase to dash-case properties. */ const camelToDash = (str) => str.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(); export { camelToDash }; //# sourceMappingURL=camel-to-dash.mjs.map