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
@@ -50,6 +49,7 @@ type Story = StoryObj<typeof MyComponent>;
50
49
```
51
50
52
51
That's it! The add-on will automatically generate controls for `popoverProps.beak`, `popoverProps.outline`, and `popoverProps.position` based on their inferred types:
52
+
53
53
<ImageWrapper
54
54
src="./meta/deep_controls_default.png"
55
55
alt="The Deep Controls add-on in action, with default args for popoverProps."
@@ -95,6 +95,7 @@ type Story = StoryObj<typeof MyComponent>;
95
95
```
96
96
97
97
The controls panel will now show the following:
98
+
98
99
<ImageWrapper
99
100
src="./meta/deep_controls_argTypes.png"
100
101
alt="The Deep Controls add-on in action, with nested properties exposed as separate controls."
@@ -156,6 +157,7 @@ argTypes: {
156
157
```
157
158
158
159
This will display:
160
+
159
161
-`infotip` (the entire object)
160
162
-`infotip.info` (individual property)
161
163
-`infotip.emphasis` (individual property)
@@ -251,11 +253,15 @@ export default meta;
251
253
252
254
### Components Using Deep Controls
253
255
254
-
- <LinkToid="Atoms/Feedback/Alert">**Alert**</LinkTo> Demonstrates deep controls with default args for `cta`.
256
+
- <LinkToid="Atoms/Feedback/Alert">**Alert**</LinkTo> Demonstrates deep controls
257
+
with default args for `cta`.
255
258
256
-
- <LinkToid="Molecules/Coachmark">**Coachmark**</LinkTo> Demonstrates deep controls with custom `argTypes` for `popoverProps` with multiple nested properties like `beak`, `position`, `align`, and offsets.
259
+
- <LinkToid="Molecules/Coachmark">**Coachmark**</LinkTo> Demonstrates deep controls
260
+
with custom `argTypes` for `popoverProps` with multiple nested properties like
261
+
`beak`, `position`, `align`, and offsets.
257
262
258
-
- <LinkToid="Atoms/FormElements/FormGroup">**FormGroup**</LinkTo> Uses the reusable `infotipNestedArgTypes` to expose infotip configuration.
263
+
- <LinkToid="Atoms/FormElements/FormGroup">**FormGroup**</LinkTo> Uses the reusable
264
+
`infotipNestedArgTypes` to expose infotip configuration.
0 commit comments