ToggleDarkMode.ts

const ToggleDarkMode = () => ({
  dependsOn: [
    {
      src: "/components/ToggleDarkMode/toggle-dark-mode.js",
    },
    {
      src: "/components/ToggleDarkMode/toggle-dark-mode.css",
    }
  ],
  body: ["div", { class: 'toggle-dark-mode-container' },
         ["button", { class: 'toggle-dark-mode' }, ""]],
})

export default ToggleDarkMode;
Revisions
DateHash
2024-04-13
2024-03-31
2024-03-31