You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error Message:
No overload matches this call.
Overload 2 of 2, '(props: SegmentedControlProps, context: any): SegmentedControl', gave the following error.
Type '{ fontFamily: Fonts; fontSize: number; fontWeight: number; }' is not assignable to type 'FontStyle'.
Overload 2 of 2, '(props: SegmentedControlProps, context: any): SegmentedControl', gave the following error.
Type '{ fontFamily: Fonts; fontSize: number; fontWeight: number; }' is not assignable to type 'FontStyle'.
Overload 2 of 2, '(props: SegmentedControlProps, context: any): SegmentedControl', gave the following error.
Type '(val: ProposalType) => void' is not assignable to type '(value: string) => void'.ts(2769)
index.d.ts(104, 3): The expected type comes from property 'fontStyle' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'
index.d.ts(108, 3): The expected type comes from property 'activeFontStyle' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'
But on app all work as expected
The text was updated successfully, but these errors were encountered:
Segment-control v2.4.1
RN v0.71.2
Error Message:
No overload matches this call.
Overload 2 of 2, '(props: SegmentedControlProps, context: any): SegmentedControl', gave the following error.
Type '{ fontFamily: Fonts; fontSize: number; fontWeight: number; }' is not assignable to type 'FontStyle'.
Overload 2 of 2, '(props: SegmentedControlProps, context: any): SegmentedControl', gave the following error.
Type '{ fontFamily: Fonts; fontSize: number; fontWeight: number; }' is not assignable to type 'FontStyle'.
Overload 2 of 2, '(props: SegmentedControlProps, context: any): SegmentedControl', gave the following error.
Type '(val: ProposalType) => void' is not assignable to type '(value: string) => void'.ts(2769)
index.d.ts(104, 3): The expected type comes from property 'fontStyle' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'
index.d.ts(108, 3): The expected type comes from property 'activeFontStyle' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'
But on app all work as expected
The text was updated successfully, but these errors were encountered: