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 3fefa12 commit f92f65cCopy full SHA for f92f65c
src/components/primitives/Heading/types.ts
@@ -1,6 +1,4 @@
1
import type { ITextProps } from '../Text';
2
-import type { ResponsiveValue } from '../../../components/types';
3
-import type { ISizes } from '../../../theme/base/sizes';
4
5
import type { CustomProps, ThemeComponentSizeType } from '../../types/utils';
6
@@ -9,9 +7,7 @@ export interface IterfaceHeadingProps extends ITextProps {
9
7
* The size of the heading.
10
8
* @default xl
11
*/
12
- size?:
13
- | ResponsiveValue<ISizes | (string & {}) | number>
14
- | ThemeComponentSizeType<'Heading'>;
+ size?: ThemeComponentSizeType<'Heading'>;
15
}
16
17
export type IHeadingProps = IterfaceHeadingProps & CustomProps<'Heading'>;
0 commit comments