docs: fix up transition docs
This commit is contained in:
@@ -198,8 +198,9 @@ This component is also exported as `TransitionRoot`, to maintain compatibility w
|
||||
|
||||
| Prop | Default | Type | Description |
|
||||
| ----------- | ------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `show` | -- | `boolean` | Whether the children should be shown or hidden |
|
||||
| `show` | -- | `boolean` | Whether the children should be shown |
|
||||
| `as` | `div` | `string` | The element the `Transition` should render as |
|
||||
| `appear` | `false` | `boolean` | Whether the transition should run on initial mount. |
|
||||
| `static` | `false` | `boolean` | Whether the element should ignore the internally managed open/closed state |
|
||||
| `unmount` | `true` | `boolean` | Whether the element should be unmounted, instead of just hidden, based on the open/closed state |
|
||||
| `enter` | `""` | `string` | Classes to add to the transitioning element during the entire enter phase |
|
||||
|
||||
Reference in New Issue
Block a user