Skip to content

Commit 1a926a1

Browse files
authored
chore: update types readme small panel height (#111)
1 parent 68f6fa5 commit 1a926a1

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export default App = () => {
8585
| **closeRootStyle** | `Object` | Use this prop to override close button background style | `{}` |
8686
| **closeIconStyle** | `Object` | Use this prop to override close button icon style | `{}` |
8787
| **barStyle** | `Object` | Use this prop to override bar style | `{}` |
88+
| **smallPanelHeight** | `Object` | Use this prop to override the small panel default height | |
8889
| **closeOnTouchOutside** | `bool` | Set true if you want to close panel by touching outside | `false` |
8990
| **allowTouchOutside** | `bool` | Set true if you want to make toucable outside of panel | `false` |
9091
| **noBar** | `bool` | Set true if you want to remove gray bar | `false` |

index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ declare interface SwipeablePanelProps extends React.Props<SwipeablePanel> {
7474
*/
7575
barStyle?: object;
7676

77+
/**
78+
* Use this prop to override the small panel default height
79+
*/
80+
smallPanelHeight?: number;
81+
7782
/**
7883
* Set true if you want to make toucable outside of panel
7984
*/

src/typings.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ declare interface SwipeablePanelProps extends React.Props<SwipeablePanel> {
7272
*/
7373
barStyle?: object;
7474

75+
/**
76+
* Use this prop to override the small panel default height
77+
*/
78+
smallPanelHeight?: number;
79+
7580
/**
7681
* Set true if you want to make toucable outside of panel
7782
*/

0 commit comments

Comments
 (0)