Closed amosnjoroge closed 2 years ago
Name | Link |
---|---|
Latest commit | 3cb8243bf388216458c687909e8f4222aabc9ac3 |
Latest deploy log | https://app.netlify.com/sites/hakawati/deploys/62c5f2d1446631000839d333 |
Deploy Preview | https://deploy-preview-328--hakawati.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Hey @amosnjoroge, I noticed in the select
component:
groupOptions
, I can't seem to see more than warm
and cold
options but I see there are options under each that arent displayed unless you enabled grouped
= true. Can we add any inline comments on the story itself to explain this? Or if storybook has a way to add comments next to each control?Hey @amosnjoroge, I noticed in the
select
component:
groupOptions
, I can't seem to see more thanwarm
andcold
options but I see there are options under each that arent displayed unless you enabledgrouped
= true. Can we add any inline comments on the story itself to explain this? Or if storybook has a way to add comments next to each control?
You are right, the groupOptions
requires the grouped
prop to equal true
. I was looking for a way to either disable the options or let the options be dynamic based on the grouped
flag but I have not figure it out. I will check it if is possible to add documentation on the prop for now
@amosnjoroge that sounds good. If you can't find any way to add documentation to the prop, maybe we add a line comment in the story template (definitely not as nice):
@andrewtpham I have added a description to the sample options control. You have to be in the Docs
tab to see the description. Please check it and inform me if the description is clear.
FYI the description field supports Markdown text.
@amosnjoroge to upgrade version and then its ready to be merged
What is the Purpose?
Refactor hSelect component
Mentions?
@andrewtpham @ninetteadhikari @michaelbukachi
Issue(s) affected?
https://github.com/hikaya-io/hakawati/issues/309