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