File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ export interface DropdownAlertProps {
4141 sensitivity ?: number ;
4242 defaultContainer ?: object | number ;
4343 defaultTextContainer ?: object | number ;
44- renderImage ?( props : DropdownAlertProps , state : RenderState ) : ReactNode ;
45- renderCancel ?( props : DropdownAlertProps , state : RenderState ) : ReactNode ;
46- renderTitle ?( props : DropdownAlertProps , state : RenderState ) : ReactNode ;
47- renderMessage ?( props : DropdownAlertProps , state : RenderState ) : ReactNode ;
44+ renderImage ?( props : DropdownAlertProps , state : AlertDataType ) : ReactNode ;
45+ renderCancel ?( props : DropdownAlertProps , state : AlertDataType ) : ReactNode ;
46+ renderTitle ?( props : DropdownAlertProps , state : AlertDataType ) : ReactNode ;
47+ renderMessage ?( props : DropdownAlertProps , state : AlertDataType ) : ReactNode ;
4848 testID ?: string ;
4949 accessibilityLabel ?: string ;
5050 accessible ?: boolean ;
@@ -53,14 +53,6 @@ export interface DropdownAlertProps {
5353 onTap ?( data : AlertDataType ) : void ;
5454}
5555
56- type RenderState = {
57- type : string ,
58- title : string ,
59- message : string ,
60- payload : any ,
61- interval : number
62- }
63-
6456export type DropdownAlertType =
6557 | 'info'
6658 | 'warn'
You can’t perform that action at this time.
0 commit comments