Skip to content

Commit

Permalink
docs(formlabel): remove tooltip example from formlabel stories
Browse files Browse the repository at this point in the history
  • Loading branch information
tay1orjones committed Jul 19, 2024
1 parent f80393a commit e400716
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions packages/react/src/components/FormLabel/FormLabel.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,10 @@ export default {

export const Default = () => <FormLabel>Form label</FormLabel>;

export const WithTooltip = (controls) => {
export const WithToggletip = (controls) => {
const { align } = controls;
return (
<>
<div className="form-wrapper">
<FormLabel>Form label with Tooltip</FormLabel>
<Tooltip
align="bottom"
label="This can be used to provide more information about a field.">
<button className="cds--tooltip__trigger" type="button">
<Information />
</button>
</Tooltip>
</div>
<div className="form-wrapper">
<FormLabel>Form label with Toggletip</FormLabel>
<Toggletip align={align}>
Expand Down

0 comments on commit e400716

Please sign in to comment.