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

style(typings): Add tab panes prop definition #1812

Merged
merged 5 commits into from
Jun 30, 2017
Merged

style(typings): Add tab panes prop definition #1812

merged 5 commits into from
Jun 30, 2017

Conversation

pierre-H
Copy link
Contributor

No description provided.

@pierre-H pierre-H changed the title style(typings): Add panes prop definition style(typings): Add tab panes prop definition Jun 29, 2017
So this interface can be used in code
@codecov-io
Copy link

codecov-io commented Jun 29, 2017

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1812   +/-   ##
=======================================
  Coverage   99.75%   99.75%           
=======================================
  Files         144      144           
  Lines        2463     2463           
=======================================
  Hits         2457     2457           
  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 dbc3b00...ca53d7e. Read the comment docs.

@@ -27,7 +27,7 @@ export interface TabProps {
onTabChange?: (event: React.MouseEvent<HTMLDivElement>, data: TabProps) => void;

/** Shorthand props for the Menu. */
panes?: any;
panes?: Array<{menuItem: string; render: () => React.ReactNode;}>;
Copy link
Member

Choose a reason for hiding this comment

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

Can we make it multiline?

panes?: Array<{
  menuItem: string;
  render: () => React.ReactNode;
}>;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@layershifter layershifter left a comment

Choose a reason for hiding this comment

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

@pierre-H Thanks again, LGTM

@layershifter
Copy link
Member

I've relaxed type for changes from #1823.

@levithomason levithomason merged commit 4f9f32a into Semantic-Org:master Jun 30, 2017
@levithomason
Copy link
Member

Released in semantic-ui-react@0.71.0.

@pierre-H pierre-H deleted the patch-2 branch October 17, 2017 12:35
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.

4 participants