Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make require props optional #737

Merged
merged 3 commits into from
Mar 13, 2019
Merged

fix: make require props optional #737

merged 3 commits into from
Mar 13, 2019

Conversation

moog16
Copy link

@moog16 moog16 commented Mar 12, 2019

fixes #734

This PR makes all props optional that were required.

open: boolean;
onOpen: () => void;
onClose: () => void;
onTransitionEnd: React.TransitionEventHandler<HTMLElement>;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed these since they are duplicates covered in HTMLProps.

@moog16 moog16 changed the title fix: make require props optional and update defaultProps definitions fix: make require props optional Mar 12, 2019
@codecov-io
Copy link

codecov-io commented Mar 12, 2019

Codecov Report

Merging #737 into rc0.11.0 will not change coverage.
The diff coverage is 71.42%.

Impacted file tree graph

@@            Coverage Diff            @@
##           rc0.11.0     #737   +/-   ##
=========================================
  Coverage     95.16%   95.16%           
=========================================
  Files            73       73           
  Lines          2914     2914           
  Branches        442      442           
=========================================
  Hits           2773     2773           
  Misses           46       46           
  Partials         95       95
Impacted Files Coverage Δ
packages/linear-progress/index.tsx 100% <ø> (ø) ⬆️
packages/checkbox/NativeControl.tsx 100% <ø> (ø) ⬆️
packages/select/index.tsx 98.95% <ø> (ø) ⬆️
packages/switch/index.tsx 100% <ø> (ø) ⬆️
packages/notched-outline/index.tsx 91.48% <ø> (ø) ⬆️
packages/list/ListItem.tsx 97.87% <ø> (ø) ⬆️
packages/drawer/index.tsx 93.26% <100%> (ø) ⬆️
packages/chips/ChipSet.tsx 98.79% <100%> (ø) ⬆️
packages/menu-surface/index.tsx 85% <100%> (ø) ⬆️
packages/list/index.tsx 93.46% <33.33%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ce10503...ab623cb. Read the comment docs.

@moog16 moog16 merged commit 280166b into rc0.11.0 Mar 13, 2019
@moog16 moog16 deleted the fix/make-props-optional branch March 13, 2019 20:11
@moog16 moog16 added this to the 0.11.0 milestone Mar 13, 2019
moog16 pushed a commit that referenced this pull request Mar 18, 2019
moog16 pushed a commit that referenced this pull request Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants