fix: CallToAction interface

This commit is contained in:
Dylan Awalt-Conley
2024-03-26 12:08:27 -04:00
parent 5e8bb02ab8
commit 356854f018

2
src/types.d.ts vendored
View File

@@ -176,7 +176,7 @@ export interface Disclaimer {
}
// COMPONENTS
export interface CallToAction extends HTMLAttributes<a> {
export interface CallToAction extends Omit<HTMLAttributes<'a'>, 'slot'> {
variant?: 'primary' | 'secondary' | 'tertiary' | 'link';
text?: string;
icon?: string;