Auto Height
An effect that automatically adjusts the height of an element based on its content.
Made by imskyleenInstallation
Usage
API Reference
AutoHeight
Prop | Type | Default |
---|---|---|
asChild? | boolean | false |
deps? | React.DependencyList | [] |
transition? | Transition | { type: "spring", stiffness: 300, damping: 30, bounce: 0, restDelta: 0.01 } |
animate? | TargetAndTransition | LegacyAnimationControls | - |
...props? | HTMLMotionProps<"div"> | - |