File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
generatedTypes/components/radioButton Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export declare type RadioGroupProps = ViewProps & {
13
13
} ;
14
14
export declare type RadioGroupPropTypes = RadioGroupProps ;
15
15
interface RadioGroupState {
16
+ initialValue ?: RadioGroupProps [ 'initialValue' ] ;
16
17
value ?: RadioGroupProps [ 'initialValue' ] ;
17
18
}
18
19
declare type Props = RadioGroupProps & BaseComponentInjectedProps & ForwardRefInjectedProps ;
@@ -22,7 +23,6 @@ declare type Props = RadioGroupProps & BaseComponentInjectedProps & ForwardRefIn
22
23
declare class RadioGroup extends PureComponent < Props , RadioGroupState > {
23
24
static displayName : string ;
24
25
constructor ( props : Props ) ;
25
- static getUpdatedState : ( nextProps : Props , prevState : RadioGroupState ) => RadioGroupState | null ;
26
26
static getDerivedStateFromProps : GetDerivedStateFromProps < Props , RadioGroupState > ;
27
27
getContextProviderValue ( ) : {
28
28
value : string | number | boolean | undefined ;
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import {ReactElement} from 'react';
2
2
import { ImageRequireSource } from 'react-native' ;
3
3
import { BaseComponent } from '../commons' ;
4
4
import { ColorValue } from '../style/colors' ;
5
- import { ButtonProps } from '../../generatedTypes' ;
6
5
7
6
export type ToastPosition = 'top' | 'bottom' ;
8
7
@@ -13,7 +12,7 @@ export interface ToastProps {
13
12
color ?: ColorValue ;
14
13
message ?: string ;
15
14
icon ?: ImageRequireSource ;
16
- action ?: ButtonProps ;
15
+ action ?: any ; // This is actually ButtonProps, but it's not available here.
17
16
onDismiss ?: ( ) => void ;
18
17
autoDismiss ?: number ;
19
18
onAnimationEnd ?: ( visible : boolean ) => void ;
You can’t perform that action at this time.
0 commit comments