import React from "react"; import { Button, Modal, ModalSize, useModal } from "@openfun/cunningham-react"; const Onboarding = () => { const modal = useModal({ isOpenDefault: !sessionStorage.getItem("onboarded"), }); const handleClose = () => { sessionStorage.setItem("onboarded", "1"); modal.close(); }; return ( } >
👋

Hey there!

Welcome on the Cunningham Design System showcase.

👀 Through this demo, you will be able to discover{" "} a bunch of Cunningham components. Take a look at the{" "} documentation {" "} to see how to use them.

🖌️ You will also discover the theme feature of the Cunningham Design System. You can switch theme through the components in the top right corner.

); }; export default Onboarding;