UNPKG

@chakra-v2/styled-system

Version:

Style function for css-in-js building component libraries

17 lines (14 loc) 419 B
import { t } from '../utils/index.mjs'; const transition = { transition: true, transitionDelay: true, animation: true, willChange: true, transitionDuration: t.prop("transitionDuration", "transition.duration"), transitionProperty: t.prop("transitionProperty", "transition.property"), transitionTimingFunction: t.prop( "transitionTimingFunction", "transition.easing" ) }; export { transition };