You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`<LayoutProvider>`](#layoutprovider)| A context provider which is only required if you intend on using responsive props or a custom `styles()` instance. |
121
+
|[`<LayoutProvider>`](#layoutprovider)| A context provider which is only required if you intend on using responsive props or a custom `styles` instance.|
122
122
|[`<Box>`](#box)| A layout component for adding size, padding, position, color, and more using tokens from your CSS variable theme. |
123
123
|[`<Cluster>`](#cluster)| A row directional layout component that distributes its items in a cluster. Common use cases are tags and input chips. |
124
124
|[`<Column>`](#column)| A layout component that distributes its items in a column without wrapping or shrinking. |
|[`useResponsiveStyles()`](#useresponsivestyles)| Returns the [responsive `styles()`](https://github.com/dash-ui/responsive) used for creating responsive layout props. |
|[`useResponsiveStyles()`](#useresponsivestyles)| Returns the [responsive `styles`](https://github.com/dash-ui/responsive) used for creating responsive layout props. |
137
137
138
138
### TypeScript support
139
139
@@ -153,7 +153,7 @@ components.
153
153
### <LayoutProvider>
154
154
155
155
A context provider which is only required if you intend on using media query
156
-
props or a custom `styles()` instance.
156
+
props or a custom `styles` instance.
157
157
158
158
#### Example
159
159
@@ -191,10 +191,10 @@ const Component = () => (
191
191
192
192
#### Props
193
193
194
-
| Prop | Type | Default | Required? | Description|
| styles |`Styles<DashTokens, DashThemeNames>`|`styles`| No | The `styles()` instance you're using to create styles. By default this is the `styles()` instance exported from [`@dash-ui/styles`](https://github.com/dash-ui/styles)|
197
-
| mediaQueries |`Record<string, string>`|| No | A mapping of name/media query pairs. This is only required if youre' using responsive props.|
| styles |`Styles<DashTokens, DashThemes>`|`styles`| No | The `styles` instance you're using to create styles. By default this is the `styles` instance exported from [`@dash-ui/styles`](https://github.com/dash-ui/styles)|
197
+
| mediaQueries |`Record<string, string>`|| No | A mapping of name/media query pairs. This is only required if youre' using responsive props. |
198
198
199
199
### <Box>
200
200
@@ -559,7 +559,7 @@ const Component = () => (
559
559
560
560
### useResponsiveStyles()
561
561
562
-
Returns the [responsive `styles()`](https://github.com/dash-ui/responsive)
562
+
Returns the [responsive `styles`](https://github.com/dash-ui/responsive)
0 commit comments