Skip to content

Commit ea10f31

Browse files
authored
docs: fix pmndrs/docs format (#581)
1 parent 4d50268 commit ea10f31

File tree

12 files changed

+64
-102
lines changed

12 files changed

+64
-102
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ NOTE: Using Leva with React 18 will cause a console error about createRoot which
5555

5656
### Documentation
5757

58-
- [Getting Started](/docs/getting-started.md)
59-
- [Inputs](/docs/inputs.md)
60-
- [Configuration](/docs/configuration.md)
61-
- [Styling](/docs/styling.md)
58+
- [Getting Started](/docs/getting-started/introduction.md)
59+
- [Inputs](/docs/getting-started/inputs.md)
60+
- [Configuration](/docs/getting-started/configuration.md)
61+
- [Styling](/docs/getting-started/styling.md)
6262

6363
- [Advanced: Controlled Inputs](/docs/advanced/controlled-inputs.md)
6464
- [Advanced: Creating Plugins](/docs/advanced/creating-plugins.md)

β€Ždocs/advanced/controlled-inputs.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Controlled Inputs
3+
description:
4+
nav: 1
5+
---
6+
17
# Controlled Inputs
28

39
## set

β€Ždocs/advanced/creating-plugins.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Creating Plugins
3+
description:
4+
nav: 1
5+
---
6+
17
# Creating Plugins
28

39
Plugins allow you to extend Leva with custom input types. They're perfect for domain-specific controls like bezier curves, spring physics, date pickers, or any custom input type your application needs.

β€Ždocs/configuration.mdβ€Ž renamed to β€Ždocs/getting-started/configuration.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Configuration
3+
description:
4+
nav: 0
5+
---
6+
17
## Configuration
28

39
You can configure Leva by using the `<Leva>` component anywhere in your App:

β€Ždocs/inputs.mdβ€Ž renamed to β€Ždocs/getting-started/inputs.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Inputs
3+
description:
4+
nav: 0
5+
---
6+
17
# Input Types
28

39
`leva` will check the input settings and provide the best possible component.

β€Ždocs/getting-started.mdβ€Ž renamed to β€Ždocs/getting-started/introduction.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: leva introduction
3+
description:
4+
nav: 0
5+
---
6+
17
# Getting Started
28

39
## Install

β€Ždocs/plugins.mdβ€Ž renamed to β€Ždocs/getting-started/plugins.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Plugins
3+
description:
4+
nav: 0
5+
---
6+
17
# Plugins
28

39
Plugins extend Leva with custom input types beyond the built-in primitives. They allow you to create specialized controls for specific use cases.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: Special Inputs
3+
description:
4+
nav: 0
5+
---
6+
7+
# Special Inputs
8+
9+
### Button
10+
11+
### Monitor

β€Ždocs/styling.mdβ€Ž renamed to β€Ždocs/getting-started/styling.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Customizing Style
3+
description:
4+
nav: 0
5+
---
6+
17
# Customizing Style
28

39
Leva supports full theme customization through the `theme` prop on the `<Leva>` component. You can customize colors, spacing, typography, and more.

β€Ždocs/typescript.mdβ€Ž renamed to β€Ždocs/getting-started/typescript.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Using With Typescript
3+
description:
4+
nav: 0
5+
---
6+
17
# Using With TypeScript
28

39
Leva has excellent TypeScript support with full type inference for your control values.

0 commit comments

Comments
Β (0)