Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 0 additions & 67 deletions example/src/CheckboxExample.js

This file was deleted.

10 changes: 3 additions & 7 deletions example/src/ExampleList.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,19 @@ import {
StyleSheet,
} from 'react-native';
import { Colors, TouchableRipple } from 'react-native-paper';
import ButtonExample from './ButtonExample';
import CardExample from './CardExample';
import CheckboxExample from './CheckboxExample';
import DividerExample from './DividerExample';
import PaperExample from './PaperExample';
import RippleExample from './RippleExample';
import RadioButtonExample from './RadioButtonExample';
import PaperExample from './PaperExample';
import TextExample from './TextExample';
import ButtonExample from './ButtonExample';
import DividerExample from './DividerExample';

export const examples = {
button: ButtonExample,
card: CardExample,
checkbox: CheckboxExample,
divider: DividerExample,
paper: PaperExample,
ripple: RippleExample,
radio: RadioButtonExample,
text: TextExample,
};

Expand Down
67 changes: 0 additions & 67 deletions example/src/RadioButtonExample.js

This file was deleted.

7 changes: 3 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ export { default as withTheme } from './src/core/withTheme';

export * as Colors from './src/styles/colors';

export { default as Button } from './src/components/Button';
export { default as Card } from './src/components/Card';
export { default as Checkbox } from './src/components/Checkbox';
export { default as Paper } from './src/components/Paper';
export { default as RadioButton } from './src/components/RadioButton';
export { default as TouchableRipple } from './src/components/TouchableRipple';

export { default as Button } from './src/components/Button';
export { default as Card } from './src/components/Card';

export { default as Caption } from './src/components/Typography/Caption';
export { default as Headline } from './src/components/Typography/Headline';
export { default as Paragraph } from './src/components/Typography/Paragraph';
Expand Down
82 changes: 0 additions & 82 deletions src/components/Checkbox.js

This file was deleted.

82 changes: 0 additions & 82 deletions src/components/RadioButton.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/TouchableRipple/TouchableRipple.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Props = {
onPress?: ?Function;
onPressIn?: ?Function;
onPressOut?: ?Function;
rippleColor: string;
rippleColor?: string;
children?: any;
style?: any;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/TouchableRipple/TouchableRipple.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Props = {
onPress?: ?Function;
onPressIn?: ?Function;
onPressOut?: ?Function;
rippleColor: string;
rippleColor?: string;
children?: any;
style?: any;
}
Expand Down