1
1
import type { InterfaceButtonProps } from '../../primitives/Button/types' ;
2
- import type { IBoxProps } from '../../primitives/Box' ;
2
+ import type { InterfaceBoxProps } from '../../primitives/Box' ;
3
3
import type { MutableRefObject } from 'react' ;
4
4
import type { CustomProps } from '../../../components/types' ;
5
5
6
6
export interface InterfaceActionsheetProps
7
- extends IBoxProps < IActionsheetProps > {
7
+ extends InterfaceBoxProps < IActionsheetProps > {
8
8
/**
9
9
* If true, the ActionSheet will open. Useful for controllable state behaviour
10
10
*/
@@ -30,24 +30,24 @@ export interface InterfaceActionsheetProps
30
30
}
31
31
32
32
export interface IActionsheetContentProps
33
- extends IBoxProps < IActionsheetContentProps > {
33
+ extends InterfaceBoxProps < IActionsheetContentProps > {
34
34
/**
35
35
* Props applied on area above actionsheet content
36
36
*/
37
- _dragIndicatorWrapperOffSet ?: IBoxProps < IActionsheetContentProps > ;
37
+ _dragIndicatorWrapperOffSet ?: InterfaceBoxProps < IActionsheetContentProps > ;
38
38
/**
39
39
* Props applied on area around drag indicator
40
40
*/
41
- _dragIndicatorWrapper ?: IBoxProps < IActionsheetContentProps > ;
41
+ _dragIndicatorWrapper ?: InterfaceBoxProps < IActionsheetContentProps > ;
42
42
/**
43
43
* Props applied on drag indicator
44
44
*/
45
- _dragIndicator ?: IBoxProps < IActionsheetContentProps > ;
45
+ _dragIndicator ?: InterfaceBoxProps < IActionsheetContentProps > ;
46
46
}
47
47
export interface IActionsheetFooterProps
48
- extends IBoxProps < IActionsheetFooterProps > { }
48
+ extends InterfaceBoxProps < IActionsheetFooterProps > { }
49
49
export interface IActionsheetHeaderProps
50
- extends IBoxProps < IActionsheetHeaderProps > { }
50
+ extends InterfaceBoxProps < IActionsheetHeaderProps > { }
51
51
export interface IActionsheetItemProps extends InterfaceButtonProps { }
52
52
53
53
export type IActionsheetComponentType = ( (
@@ -75,6 +75,5 @@ export type IActionsheetComponentType = ((
75
75
// >;
76
76
} ;
77
77
78
- export type IActionsheetProps =
79
- | InterfaceActionsheetProps
80
- | CustomProps < 'Actionsheet' > ;
78
+ export type IActionsheetProps = InterfaceActionsheetProps &
79
+ CustomProps < 'Actionsheet' > ;
0 commit comments