Skip to content

Commit

Permalink
Add missing descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ony3000 committed Nov 25, 2024
1 parent e5bd8fe commit 38a225b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/website/docs/components/01-inputs/09-switch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ export function SwitchDecorators() {

## Anatomy

The Switch component is composed of a root `<div>` that wraps the input.
Note that the actual `<input type="checkbox">` is nested within `<div>` element that represent the `action` slot.

```html
<div class="tj-switch-root ...">
<!-- start decorator is nested here when present -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ The Aspect Ratio component is composed of a root `<div>` with a content `<div>`

## API

See the documentation below for a complete reference to all of the props available to the components mentioned here.

- [`<AspectRatio />`](../apis/aspect-ratio)
- [`<Box />`](../apis/box)
- [`<Sheet />`](../apis/sheet)
Expand Down

0 comments on commit 38a225b

Please sign in to comment.