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(Dropdown|Select|Form): fixes in typings #1401

Merged
merged 1 commit into from
Mar 1, 2017
Merged

Conversation

layershifter
Copy link
Member

Fixes #1400.

@@ -8,7 +8,6 @@ import {
} from '../../modules/Dropdown';

export interface SelectProps extends DropdownProps {
selection: true;
Copy link
Member Author

Choose a reason for hiding this comment

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

true is not valid type, so it's cruft.

@@ -46,10 +46,6 @@ interface FormProps {
widths?: 'equal';
}

interface FormOnSubmitData extends FormProps {
Copy link
Member Author

Choose a reason for hiding this comment

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

Cruft.

@@ -106,71 +106,71 @@ export interface DropdownProps {
* @param {SyntheticEvent} event - React's original SyntheticEvent.
* @param {object} data - All props.
*/
onBlur: (event: React.KeyboardEvent<HTMLElement>, data: DropdownProps) => void;
onBlur?: (event: React.KeyboardEvent<HTMLElement>, data: DropdownProps) => void;
Copy link
Member Author

Choose a reason for hiding this comment

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

Prop is optional

@codecov-io
Copy link

codecov-io commented Feb 28, 2017

Codecov Report

Merging #1401 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1401   +/-   ##
=======================================
  Coverage   99.74%   99.74%           
=======================================
  Files         140      140           
  Lines        2347     2347           
=======================================
  Hits         2341     2341           
  Misses          6        6

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 768f97c...214ee16. Read the comment docs.

@levithomason levithomason merged commit c7bdf53 into master Mar 1, 2017
@levithomason levithomason deleted the fix/typings branch March 1, 2017 06:30
@levithomason
Copy link
Member

Whoops, I missed that one on review as well. Thanks for the update.

@levithomason
Copy link
Member

Released in [email protected].

harel pushed a commit to harel/Semantic-UI-React that referenced this pull request Mar 8, 2017
harel pushed a commit to harel/Semantic-UI-React that referenced this pull request Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants