File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/components/composites/Actionsheet Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
import React , { memo , forwardRef } from 'react' ;
2
2
import { Pressable } from '../../primitives/Pressable' ;
3
- import Box , { IBoxProps } from '../../primitives/Box' ;
3
+ import Box from '../../primitives/Box' ;
4
4
import { HStack } from '../../primitives/Stack' ;
5
5
import Spinner from '../../primitives/Spinner' ;
6
- import type { IButtonProps } from '../../primitives/Button' ;
7
6
import { usePropsResolution } from '../../../hooks' ;
8
7
import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps' ;
8
+ import type { IActionsheetItemProps } from './types' ;
9
9
10
10
const ActionsheetItem = (
11
11
{
@@ -20,7 +20,7 @@ const ActionsheetItem = (
20
20
isLoading,
21
21
spinnerPlacement = 'start' ,
22
22
...props
23
- } : IButtonProps & IBoxProps ,
23
+ } : IActionsheetItemProps ,
24
24
ref : any
25
25
) => {
26
26
const {
Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ export interface IActionsheetFooterProps
48
48
extends InterfaceBoxProps < IActionsheetFooterProps > { }
49
49
export interface IActionsheetHeaderProps
50
50
extends InterfaceBoxProps < IActionsheetHeaderProps > { }
51
- export interface IActionsheetItemProps extends InterfaceButtonProps { }
51
+ export interface IActionsheetItemProps
52
+ extends Omit < InterfaceButtonProps , 'variant' | 'size' | 'colorScheme' > { }
52
53
53
54
export type IActionsheetComponentType = ( (
54
55
props : IActionsheetProps & { ref ?: MutableRefObject < any > }
You can’t perform that action at this time.
0 commit comments