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

Replace style props to styles in [Accordion] #69

Merged
merged 2 commits into from
Aug 19, 2021
Merged

Replace style props to styles in [Accordion] #69

merged 2 commits into from
Aug 19, 2021

Conversation

yujonglee
Copy link
Contributor

Description

Wrap additional style props with styles object.
All components in dooboo-ui should follow this pattern.

Related Issues

none.

Tests

none.

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • Run yarn test or yarn test -u if you need to update snapshot.
  • Run yarn lint
  • I am willing to follow-up on review comments in a timely manner.

All components in dooboo-ui should follow this pattern.
@codecov
Copy link

codecov bot commented Aug 15, 2021

Codecov Report

Merging #69 (b03a7bb) into master (f146d14) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
+ Coverage   95.37%   95.39%   +0.01%     
==========================================
  Files          21       21              
  Lines         541      543       +2     
  Branches      232      234       +2     
==========================================
+ Hits          516      518       +2     
  Misses         25       25              

@yujonglee yujonglee mentioned this pull request Aug 17, 2021
4 tasks
@hyochan hyochan merged commit dd308da into dooboolab-community:master Aug 19, 2021
Copy link
Member

@hyochan hyochan left a comment

Choose a reason for hiding this comment

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

Great work on this!

renderTitle?: (item: string) => React.ReactElement;
renderBody?: (item: string) => React.ReactElement;
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you insert interface on this code?
how did you plan to show it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's my mistake. You can open a PR for this. Thanks for point it out.

luke-hanwook added a commit to luke-hanwook/dooboo-ui that referenced this pull request Aug 27, 2021
hyochan pushed a commit that referenced this pull request Aug 28, 2021
Interface type is unnecessary code in docs
I got a confirmation from below conversation
https://github.com/dooboolab/dooboo-ui/pull/69/files/7bc93125c25e190aa8f9b2066d666e4565ac0512#r697234481

related PR #69

* Update legacy props in usage example for [Accordion] component
   - isAnimated -> shouldAnimate
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.

None yet

3 participants