Type to define a component that has overridable components.
Each of them can define its:
type: either as a native HTMLElement (the props for that element will be
automatically inferred) or as a custom React component
props: any additional custom props
motionable: if that component has a possible implementation with framer-motion,
in that case we remove some HTMLAttributes props which collides with
MotionProps from framer.
Type to define a component that has overridable components.
Each of them can define its:
type: either as a native HTMLElement (the props for that element will be automatically inferred) or as a custom React componentprops: any additional custom propsmotionable: if that component has a possible implementation withframer-motion, in that case we remove some HTMLAttributes props which collides withMotionPropsfrom framer.