Skip to content
Open

Slot #85

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
27 changes: 14 additions & 13 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,20 @@ import BaseComponent from './BaseComponent';
let componentIndex = 0;

const propTypes = {
data: PropTypes.array,
onChange: PropTypes.func,
initValue: PropTypes.string,
style: View.propTypes.style,
selectStyle: View.propTypes.style,
optionStyle: View.propTypes.style,
optionTextStyle: Text.propTypes.style,
sectionStyle: View.propTypes.style,
sectionTextStyle: Text.propTypes.style,
cancelStyle: View.propTypes.style,
cancelTextStyle: Text.propTypes.style,
overlayStyle: View.propTypes.style,
cancelText: PropTypes.string

// data: PropTypes.array,
// onChange: PropTypes.func,
// initValue: PropTypes.string,
// style: View.propTypes.style,
// selectStyle: View.propTypes.style,
// optionStyle: View.propTypes.style,
// optionTextStyle: Text.propTypes.style,
// sectionStyle: View.propTypes.style,
// sectionTextStyle: Text.propTypes.style,
// cancelStyle: View.propTypes.style,
// cancelTextStyle: Text.propTypes.style,
// overlayStyle: View.propTypes.style,
// cancelText: PropTypes.string
};

const defaultProps = {
Expand Down