Repository navigation
SearchControl: Convert to TypeScript and add flag to remove bottom margin - #43871
Conversation
There was a problem hiding this comment.
|
Size Change: +12 B (0%) Total Size: 1.25 MB
ℹ️ View Unchanged
|
ciampo
left a comment
There was a problem hiding this comment.
Testing the component in Storybook, pressing the "X" button doesn't seem to be clearing the input's value
Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>
a93075e to
525dd66
Compare
Ah thanks, I messed that up. In 525dd66 I fixed it so the |
ciampo
left a comment
There was a problem hiding this comment.
🚀
In 525dd66 I fixed it so the onClose action spy is only passed in the onClose story. I also improved the story/prop description a bit to clarify its usage.
That is an unexpected behavior that the component is having 🤔 but anyway, not the scope of this PR.
Part of #38730 #35744
What?
__nextHasNoMarginBottomprop to remove the bottom margin.Why?
Better docs, better reusability.
Testing Instructions
npm run storybook:devand check the SearchControl stories in Docs view.