docs: fix up transition docs

This commit is contained in:
Ryan Gossiaux
2022-03-07 16:35:05 -08:00
parent 1bf36a1bf2
commit 99e1898665

View File

@@ -198,8 +198,9 @@ This component is also exported as `TransitionRoot`, to maintain compatibility w
| Prop | Default | Type | Description | | 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 | | `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 | | `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 | | `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 | | `enter` | `""` | `string` | Classes to add to the transitioning element during the entire enter phase |