Skip to content

Commit

Permalink
feat(reach-tooltip): chage component import name
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielduete committed Feb 14, 2025
1 parent c2cfe3a commit a6edddc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const createRichTooltip = (args, buttonText = 'hover') => {
label="${args.label}"
action="${args.action}"
action-text="${args.actionText}"
button-action="${args.buttonAction}"
open="${args.open}"
>
${args.text}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AtomButton, RichAtomTooltip } from '@juntossomosmais/atomium/react'
import { AtomButton, AtomRichTooltip } from '@juntossomosmais/atomium/react'
import { Meta, StoryObj } from '@storybook/react'
import React from 'react'

Expand All @@ -23,7 +23,7 @@ const createRichTooltip = (args, buttonText = 'Hover') => (
{buttonText}
</AtomButton>

<RichAtomTooltip
<AtomRichTooltip
id='atom-rich-tooltip'
placement={args.placement}
element={buttonText}
Expand All @@ -33,7 +33,7 @@ const createRichTooltip = (args, buttonText = 'Hover') => (
open={args.open}
>
{args.text}
</RichAtomTooltip>
</AtomRichTooltip>
</>
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AtomButton, RichAtomTooltip } from '@juntossomosmais/atomium/react'
import { AtomButton, AtomRichTooltip } from '@juntossomosmais/atomium/react'
import { Meta, StoryObj } from '@storybook/react'
import React from 'react'

Expand All @@ -23,7 +23,7 @@ const createRichTooltip = (args, buttonText = 'Hover') => (
{buttonText}
</AtomButton>

<RichAtomTooltip
<AtomRichTooltip
id='atom-rich-tooltip'
placement={args.placement}
element={buttonText}
Expand All @@ -33,7 +33,7 @@ const createRichTooltip = (args, buttonText = 'Hover') => (
open={args.open}
>
{args.text}
</RichAtomTooltip>
</AtomRichTooltip>
</>
)

Expand Down

0 comments on commit a6edddc

Please sign in to comment.