We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f04057 commit 9b2e44bCopy full SHA for 9b2e44b
src/components/primitives/Button/types.ts
@@ -4,7 +4,7 @@ import type { ResponsiveValue } from '../../types';
4
import type { MutableRefObject } from 'react';
5
import type { ISizes } from '../../../theme/base/sizes';
6
import type {
7
- CombinedSizeType,
+ ThemeComponentSizeType,
8
CustomProps,
9
VariantType,
10
// VariantType,
@@ -62,7 +62,13 @@ export interface InterfaceButtonProps
62
/**
63
* The size of the button.
64
*/
65
- size?: CombinedSizeType<'Button'>;
+ size?:
66
+ | 'xs'
67
+ | 'sm'
68
+ | 'md'
69
+ | 'lg'
70
+ | (string & {})
71
+ | ThemeComponentSizeType<'Button'>;
72
// size?: SizeType;
73
74
* The start icon element to use in the button.
0 commit comments