mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
explicit type args in react-native-github
Reviewed By: vjeux Differential Revision: D3342856 fbshipit-source-id: ba5a4d5529fc9d1d1efe98cc175d718c5f044a5b
This commit is contained in:
committed by
Facebook Github Bot 9
parent
caa2baee9d
commit
ac5636dd59
@@ -145,26 +145,26 @@ exports.description = 'Native segmented control';
|
||||
exports.examples = [
|
||||
{
|
||||
title: 'Segmented controls can have values',
|
||||
render(): ReactElement { return <BasicSegmentedControlExample />; }
|
||||
render(): ReactElement<any> { return <BasicSegmentedControlExample />; }
|
||||
},
|
||||
{
|
||||
title: 'Segmented controls can have a pre-selected value',
|
||||
render(): ReactElement { return <PreSelectedSegmentedControlExample />; }
|
||||
render(): ReactElement<any> { return <PreSelectedSegmentedControlExample />; }
|
||||
},
|
||||
{
|
||||
title: 'Segmented controls can be momentary',
|
||||
render(): ReactElement { return <MomentarySegmentedControlExample />; }
|
||||
render(): ReactElement<any> { return <MomentarySegmentedControlExample />; }
|
||||
},
|
||||
{
|
||||
title: 'Segmented controls can be disabled',
|
||||
render(): ReactElement { return <DisabledSegmentedControlExample />; }
|
||||
render(): ReactElement<any> { return <DisabledSegmentedControlExample />; }
|
||||
},
|
||||
{
|
||||
title: 'Custom colors can be provided',
|
||||
render(): ReactElement { return <ColorSegmentedControlExample />; }
|
||||
render(): ReactElement<any> { return <ColorSegmentedControlExample />; }
|
||||
},
|
||||
{
|
||||
title: 'Change events can be detected',
|
||||
render(): ReactElement { return <EventSegmentedControlExample />; }
|
||||
render(): ReactElement<any> { return <EventSegmentedControlExample />; }
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user