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(AccordionTitle): allow strings in index PropType #2483

Conversation

bharatzvm
Copy link
Contributor

@bharatzvm bharatzvm commented Feb 2, 2018

Earlier AccordionTitle's prop index used to type check only for number,
now it also supports a string.

Fixes: #2478
Signed-off-by: bp [email protected]

Earlier AccordionTitle's prop index used to typecheck only for number,
now it also supports a string.

Fixes: Semantic-Org#2478
Signed-off-by: bp <[email protected]>
@codecov-io
Copy link

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2483   +/-   ##
=======================================
  Coverage   99.74%   99.74%           
=======================================
  Files         154      154           
  Lines        2707     2707           
=======================================
  Hits         2700     2700           
  Misses          7        7
Impacted Files Coverage Δ
src/modules/Accordion/AccordionTitle.js 100% <ø> (ø) ⬆️

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 9e29d73...6cc05a6. Read the comment docs.

@levithomason
Copy link
Member

Looks like the corresponding typings in AccordionTitle.d.ts were already set correctly. We're good to merge here, thanks!

@levithomason levithomason changed the title Enhance: Update PropType index in AccordionTitle fix(AccordionTitle): allow strings in index PropType Feb 4, 2018
@levithomason levithomason merged commit 00c3e6d into Semantic-Org:master Feb 4, 2018
@welcome
Copy link

welcome bot commented Feb 4, 2018

Congrats on merging your first pull request! 🎉🎉🎉

robot victory dance

@levithomason
Copy link
Member

Released in [email protected].

@bharatzvm bharatzvm deleted the AccordionTitle-indexPropType-update branch March 2, 2018 12:48
@bharatzvm bharatzvm restored the AccordionTitle-indexPropType-update branch March 2, 2018 12:48
@bharatzvm bharatzvm deleted the AccordionTitle-indexPropType-update branch March 2, 2018 12:48
Brantron pushed a commit to Brantron/Semantic-UI-React that referenced this pull request Mar 14, 2018
fix(AccordionTitle): allow strings in index PropType
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants