import * as React from "react"; import { MoonIcon, SunIcon } from "@iconicicons/react"; import { Button, Switch, Toggle, ToggleGroup, Tooltip } from "@lemonsqueezy/wedges"; export default function Example() { /** In your app, you can use a hook, such as `useTheme` or a similar way to access * the current theme and a setter function to change the theme. */ const [theme, setTheme] = React.useState<"light" | "dark">("light"); return (
{/* Example 1 */} {/* Example 2 */} Light Dark System {/* Example 3 */} Dark theme {/* Example 4 */}
); }