We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e5bb3a commit 2128cd8Copy full SHA for 2128cd8
1 file changed
src/sections/Projects/Sistent/components/switch/code.js
@@ -78,7 +78,7 @@ const SwitchCode = () => {
78
<div className="showcase">
79
<div className="items">
80
<SistentThemeProvider initialMode={isDark ? "dark" : "light"}>
81
- <Switch/>
+ <Switch checked={checked} />
82
</SistentThemeProvider>
83
</div>
84
<CodeBlock name="basic-switch" code={codes[0]} />
@@ -149,4 +149,4 @@ const SwitchCode = () => {
149
);
150
};
151
152
-export default SwitchCode;
+export default SwitchCode;
0 commit comments