-
Notifications
You must be signed in to change notification settings - Fork 180
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
feat: add AccordionSkeleton and SkeletonText components #178
feat: add AccordionSkeleton and SkeletonText components #178
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make the skeletons 'functional' components?
https://vuejs.org/v2/guide/render-function.html#Functional-Components
If CvSeketonText is for public use it needs a story and markdown file. If it is only for internal consumption then please prefix the filename with an _ otherwise it is picked up by components/index.js
Hey @lee-chase, I was able to turn
Do you have any idea why? |
Looks to be a known issue @sabov This works or we can use render functions. Not sure it's worth the benefit. What do you think?
|
Could make a version soon |
Hey @lee-chase, I'm not sure about the benefit as well. I would vote for using |
OK @sabov we can return to functional if the above issue gets fixed. Is this ready to merge, or do you need to undo any changes made for functional components? |
It's good to go. I've used |
Revert functional for now in case of other issues. |
…n-system#178) * feat: add AccordionSkeleton and SkeletonText components * feat: update CvSkeletonText component * chore: turned CvAccordionSkeleton to a functional component * chore: turn CvAccordionItemcSkeleton to a functional component * chore: use correct notation for functional components * chore: revert functional in CvAccordionItemSkeleton
…n-system#178) * feat: add AccordionSkeleton and SkeletonText components * feat: update CvSkeletonText component * chore: turned CvAccordionSkeleton to a functional component * chore: turn CvAccordionItemcSkeleton to a functional component * chore: use correct notation for functional components * chore: revert functional in CvAccordionItemSkeleton
Issue #167
Adds
CvAccordionSkeleton
andCvSkeletonText
components. UpdatesCvAccordion
story.Changelog
New
AccordionSkeleton
SkeletonText
Changed
CvAccordion
storyPreview