File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/components/composites/IconButton Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
import type { InterfacePressableProps } from '../../primitives/Pressable/types' ;
2
2
import type { IIconProps } from '../../primitives/Icon' ;
3
- import type { ColorSchemeType } from '../../../components/types' ;
3
+ import type { ColorSchemeType , PlatformProps } from '../../../components/types' ;
4
4
5
5
import type { CustomProps , VariantType } from '../../types' ;
6
6
import type { ThemeComponentSizeType } from '../../../components/types/utils' ;
7
7
export interface InterfaceIconButtonProps
8
- extends Omit < InterfacePressableProps , 'children' | 'color' > ,
8
+ extends Omit <
9
+ InterfacePressableProps ,
10
+ 'children' | 'color' | '_light' | '_dark' | '_web' | '_android' | '_ios'
11
+ > ,
9
12
Omit <
10
13
IIconProps ,
11
14
| 'delayLongPress'
@@ -22,7 +25,8 @@ export interface InterfaceIconButtonProps
22
25
| '_web'
23
26
| '_android'
24
27
| '_ios'
25
- > {
28
+ > ,
29
+ PlatformProps < IIconButtonProps > {
26
30
/**
27
31
* The color of the radio when it's checked. This should be one of the color keys in the theme (e.g."green", "red").
28
32
* @default 'primary'
You can’t perform that action at this time.
0 commit comments