Skip to content

Commit

Permalink
docs(button.tsx): added cursor-pointer to span button
Browse files Browse the repository at this point in the history
  • Loading branch information
nigellima committed Jun 28, 2023
1 parent 353b67e commit 3f3874c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/docs/components/button/button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ The `as` prop provides you the ability to transform the `<Button />` component i
importFlowbiteReact="Button"
code={`<div className="flex flex-wrap items-center gap-2">
<div>
<Button as="span">Span Button</Button>
<Button as="span" className="cursor-pointer">Span Button</Button>
</div>
<div>
<Button as={Link} href="#">
Expand All @@ -225,7 +225,9 @@ The `as` prop provides you the ability to transform the `<Button />` component i
>
<div className="flex flex-wrap items-center gap-2">
<div>
<Button as="span">Span Button</Button>
<Button as="span" className="cursor-pointer">
Span Button
</Button>
</div>
<div>
<Button as={Link} href="#">
Expand Down

0 comments on commit 3f3874c

Please sign in to comment.