Skip to content

Commit b72867b

Browse files
authored
Add radio buttons example (#411)
Add radio button example page Add RNX-based radio group example
1 parent 009cd5c commit b72867b

File tree

6 files changed

+810
-1
lines changed

6 files changed

+810
-1
lines changed

__tests__/App-test.js

+8
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ import {XamlExamplePage} from '../src/examples/XamlExamplePage';
3434
//import {TrackPlayerExamplePage} from '../src/examples/TrackPlayerExamplePage';
3535
import {WindowsHelloExamplePage} from '../src/examples/WindowsHelloExamplePage';
3636
import {ExpanderExamplePage} from '../src/examples/ExpanderExamplePage';
37+
// https://github.com/microsoft/react-native-gallery/issues/420
38+
// Unable to import: {export * from './types'; SyntaxError: Unexpected token 'export'
39+
//import {RadioButtonsExamplePage} from '../src/examples/RadioButtonsExamplePage';
3740
import {View} from 'react-native';
3841

3942
function Control() {
@@ -137,6 +140,11 @@ test('ProgressView Example Page', () => {
137140
expect(tree).toMatchSnapshot();
138141
});
139142

143+
/*test('Radio Buttons Example Page', () => {
144+
const tree = create(<RadioButtonsExamplePage />).toJSON();
145+
expect(tree).toMatchSnapshot();
146+
});*/
147+
140148
test('ScrollView Example Page', () => {
141149
const tree = create(<ScrollViewExamplePage />).toJSON();
142150
expect(tree).toMatchSnapshot();

0 commit comments

Comments
 (0)