Skip to content

Commit

Permalink
fixing classic
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielpereirapinheiro committed Jan 17, 2025
1 parent eb512e8 commit 04ad689
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/examples/buttonlink/colors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ export default function Example() {
return (
<Box padding={4}>
<Flex gap={6} height="100%" width="100%" wrap>
{['gray', 'red', 'transparent'].map((color) => {
const colorCopy: 'gray' | 'red' | 'transparent' = color as 'gray' | 'red' | 'transparent';
{['gray', 'red', 'transparent', 'dark'].map((color) => {
const colorCopy: 'gray' | 'red' | 'transparent' | 'dark' = color as
| 'gray'
| 'red'
| 'transparent'
| 'dark';

return (
<Flex key={color} direction="column" gap={2}>
Expand Down

0 comments on commit 04ad689

Please sign in to comment.