You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New feature - addresses issue: To styling with different states #11 - expanded clearIcon and caretIcon prop types to now include function returning a JSX.Element so a partial of the wrapping component's state can be forwarded for the custom icon markup to react to; added unit tests for IndicatorIcons.tsx component; bump some dev dependencies
test('caret icon can render as a custom node',async()=>{
118
+
test('clear icon can render as a callback function with return type of ReactNode - callback accepts forwarded state props from wrapping component.',async()=>{
test('caret icon can render as a callback function with return type of ReactNode - callback accepts forwarded state props from wrapping component.',async()=>{
Copy file name to clipboardExpand all lines: docs/iframe.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -71,4 +71,4 @@
71
71
}</script><style>#root[hidden],
72
72
#docs-root[hidden] {
73
73
display: none !important;
74
-
}</style></head><body><divclass="sb-nopreview sb-wrapper"><divclass="sb-nopreview_main"><h1class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><divclass="sb-errordisplay sb-wrapper"><preid="error-message" class="sb-heading"></pre><preclass="sb-errordisplay_code"><codeid="error-stack"></code></pre></div><divid="root"></div><divid="docs-root"></div><scriptsrc="runtime~main.4e43a3f060f64a50053a.bundle.js"></script><scriptsrc="vendors~main~253ae210.4e43a3f060f64a50053a.bundle.js"></script><scriptsrc="vendors~main~d939e436.4e43a3f060f64a50053a.bundle.js"></script><scriptsrc="vendors~main~db300d2f.4e43a3f060f64a50053a.bundle.js"></script><scriptsrc="vendors~main~1f20a385.4e43a3f060f64a50053a.bundle.js"></script><scriptsrc="vendors~main~678f84af.4e43a3f060f64a50053a.bundle.js"></script><scriptsrc="vendors~main~ec8c427e.4e43a3f060f64a50053a.bundle.js"></script><scriptsrc="main~24120820.4e43a3f060f64a50053a.bundle.js"></script></body></html>
74
+
}</style></head><body><divclass="sb-nopreview sb-wrapper"><divclass="sb-nopreview_main"><h1class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><divclass="sb-errordisplay sb-wrapper"><preid="error-message" class="sb-heading"></pre><preclass="sb-errordisplay_code"><codeid="error-stack"></code></pre></div><divid="root"></div><divid="docs-root"></div><scriptsrc="runtime~main.f0b69229287ff4cc0f0a.bundle.js"></script><scriptsrc="vendors~main~253ae210.f0b69229287ff4cc0f0a.bundle.js"></script><scriptsrc="vendors~main~d939e436.f0b69229287ff4cc0f0a.bundle.js"></script><scriptsrc="vendors~main~db300d2f.f0b69229287ff4cc0f0a.bundle.js"></script><scriptsrc="vendors~main~1f20a385.f0b69229287ff4cc0f0a.bundle.js"></script><scriptsrc="vendors~main~678f84af.f0b69229287ff4cc0f0a.bundle.js"></script><scriptsrc="vendors~main~ec8c427e.f0b69229287ff4cc0f0a.bundle.js"></script><scriptsrc="main~24120820.f0b69229287ff4cc0f0a.bundle.js"></script></body></html>
0 commit comments