🔧 chore: extend to buttonOrLinkProps
This commit is contained in:
parent
5be29a9745
commit
4d646e1ac0
@ -10,12 +10,12 @@ import {
|
|||||||
InfoRoundFilledIcon,
|
InfoRoundFilledIcon,
|
||||||
WarningIcon,
|
WarningIcon,
|
||||||
} from 'components/shared/CustomIcon';
|
} 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';
|
import { cloneIcon } from 'utils/cloneIcon';
|
||||||
|
|
||||||
interface CtaProps extends ButtonBaseProps, ButtonTheme {
|
type CtaProps = ButtonOrLinkProps & {
|
||||||
buttonLabel: string;
|
buttonLabel: string;
|
||||||
}
|
};
|
||||||
export interface SimpleToastProps extends ToastProps {
|
export interface SimpleToastProps extends ToastProps {
|
||||||
id: string;
|
id: string;
|
||||||
title: string;
|
title: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user