Skip to content

Commit

Permalink
Add story for React Node helper text & tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
Makenna Smutz committed May 9, 2024
1 parent 3fc2ea0 commit 564059f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/ui/app/src/components/FernDropdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,18 @@ const meta: Meta<typeof FernDropdown> = {
type: "value",
label: "Option 3",
value: "option3",
tooltip: "This is a tooltip",
helperText: "This is a helper text",
},
{
type: "value",
label: "Option 4",
value: "option4",
helperText: "This is a helper text",
helperText: <span className="text-inherit inline-flex items-baseline gap-2 text-xs">
<span>helloWorld</span>
<span>Optional</span>
<span>Object</span>
</span>,
}
]
},
Expand Down

0 comments on commit 564059f

Please sign in to comment.