-
+
{codeBlock`
// At the top of the component
const [selectedItem, setSelectedItem] = useState("anime");
@@ -323,7 +306,7 @@ export default function DesignPage() {
onChange={setSelectedItem}
/>
`}
-
+
-
+
{codeBlock`
// At the top of the component
const [selectedEntity, entitySwitcher] = useSwitcher(
@@ -342,40 +325,40 @@ export default function DesignPage() {
// Inside the render output
{entitySwitcher}
`}
-
+
{entitySwitcher}