-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into changing_all_font_size_units_to_rem
- Loading branch information
Showing
14 changed files
with
414 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
import { MouseEventHandler, ReactNode } from 'react'; | ||
import type { ReactNode, ComponentPropsWithoutRef } from 'react'; | ||
|
||
export interface IButtonLinkContainerProps { | ||
linkType?: 'primary' | 'secondary' | 'texty'; | ||
linkType?: | ||
| 'primary' | ||
| 'secondary' | ||
| 'texty' | ||
| 'texty-primary' | ||
| 'texty-secondary'; | ||
size?: 'small' | 'medium' | 'large'; | ||
disabled?: boolean; | ||
icon?: ReactNode; | ||
className?: string; | ||
onClick?: MouseEventHandler<HTMLAnchorElement>; | ||
} | ||
|
||
export interface IButtonLinkProps extends IButtonLinkContainerProps { | ||
export interface IButtonLinkProps | ||
extends ComponentPropsWithoutRef<'a'>, | ||
IButtonLinkContainerProps { | ||
icon?: ReactNode; | ||
label: string; | ||
href?: string; | ||
target?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.