Skip to content

Commit

Permalink
Add default value doc for size and kind to Link.
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Dec 6, 2024
1 parent dc527a8 commit e83e21f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Link/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ type LinkProps = {
className?: string;
/**
* The type of link.
* @default "primary"
*/
kind?: "primary" | "critical";
/**
* The size of link.
* @default "medium"
*/
size?: "small" | "medium";
} & Omit<React.HTMLProps<HTMLAnchorElement>, "rel" | "size">;
Expand Down

0 comments on commit e83e21f

Please sign in to comment.