mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-22 20:47:44 +00:00
🔧 chore: extend to buttonOrLinkProps
This commit is contained in:
parent
5be29a9745
commit
4d646e1ac0
@ -10,12 +10,12 @@ import {
|
||||
InfoRoundFilledIcon,
|
||||
WarningIcon,
|
||||
} from 'components/shared/CustomIcon';
|
||||
import { Button, ButtonBaseProps, ButtonTheme } from 'components/shared/Button';
|
||||
import { Button, type ButtonOrLinkProps } from 'components/shared/Button';
|
||||
import { cloneIcon } from 'utils/cloneIcon';
|
||||
|
||||
interface CtaProps extends ButtonBaseProps, ButtonTheme {
|
||||
type CtaProps = ButtonOrLinkProps & {
|
||||
buttonLabel: string;
|
||||
}
|
||||
};
|
||||
export interface SimpleToastProps extends ToastProps {
|
||||
id: string;
|
||||
title: string;
|
||||
|
Loading…
Reference in New Issue
Block a user