Repository navigation
Release 1.3.0
Renamed the CollapsedTopSheetContent and ExpandedTopSheetContent props to CollapsedContent and ExpandedContent for consistency.
Additionally, the following changes were made:
- Validation of
dampingandstiffnessvalues:
TheclampValuefunction was updated to ensure that thedampingandstiffnessvalues are within their defined ranges. - Deprecated prop warning:
A warning was added for users who are still using the old props (CollapsedTopSheetContent,ExpandedTopSheetContent).
| Prop Name | Old Prop | New Prop | Range (if applicable) |
|---|---|---|---|
CollapsedTopSheetContent |
CollapsedTopSheetContent |
CollapsedContent |
- |
ExpandedTopSheetContent |
ExpandedTopSheetContent |
ExpandedContent |
- |
damping |
- | - | 1 to 100 |
stiffness |
- | - | 1 to 500 |
This change is backward compatible, but users are encouraged to update their code to use the new props.