Skip to content

Commit f92f65c

Browse files
committed
fix: heading size typing
1 parent 3fefa12 commit f92f65c

File tree

1 file changed

+1
-5
lines changed
  • src/components/primitives/Heading

1 file changed

+1
-5
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import type { ITextProps } from '../Text';
2-
import type { ResponsiveValue } from '../../../components/types';
3-
import type { ISizes } from '../../../theme/base/sizes';
42

53
import type { CustomProps, ThemeComponentSizeType } from '../../types/utils';
64

@@ -9,9 +7,7 @@ export interface IterfaceHeadingProps extends ITextProps {
97
* The size of the heading.
108
* @default xl
119
*/
12-
size?:
13-
| ResponsiveValue<ISizes | (string & {}) | number>
14-
| ThemeComponentSizeType<'Heading'>;
10+
size?: ThemeComponentSizeType<'Heading'>;
1511
}
1612

1713
export type IHeadingProps = IterfaceHeadingProps & CustomProps<'Heading'>;

0 commit comments

Comments
 (0)