sdoomz / react-google-picker

Google Picker for React
MIT License
45 stars 46 forks source link

readme / documentation should say what the default prop values are #26

Open max-carroll opened 4 years ago

max-carroll commented 4 years ago

I had to open up the source code to see what the default proptypes were,

static defaultProps = { onChange: () => {}, onAuthenticate: () => {}, onAuthFailed: () => {}, scope:['https://www.googleapis.com/auth/drive.readonly'], viewId: 'DOCS', authImmediate: false, multiselect: false, navHidden: false, disabled: false };

We need to have a table which says what props there are and what the type is and what the default is