Skip to content

Commit

Permalink
fix: fix prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Aug 18, 2021
1 parent e4251fe commit 374ca57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/sharing-dialog/src/access-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export const AccessSelect = ({
)

AccessSelect.propTypes = {
access: PropTypes.string.isRequired,
accessOptions: PropTypes.array.isRequired,
onChange: PropTypes.func.isRequired,
access: PropTypes.string,
disabled: PropTypes.bool,
label: PropTypes.string,
placeholder: PropTypes.string,
Expand Down Expand Up @@ -80,7 +80,7 @@ const CustomSingleSelectOption = ({
CustomSingleSelectOption.propTypes = {
label: PropTypes.string.isRequired,
value: PropTypes.string.isRequired,
onClick: PropTypes.func.isRequired,
active: PropTypes.bool,
destructive: PropTypes.bool,
onClick: PropTypes.func,
}
1 change: 1 addition & 0 deletions components/sharing-dialog/src/sharing-dialog.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default {
args: {
type: 'visualization',
id: 'sharing-test',
onClose: Function.prototype,
},
}

Expand Down

0 comments on commit 374ca57

Please sign in to comment.