Skip to content

Instantly share code, notes, and snippets.

View vitalijalbu's full-sized avatar
😎
At the gym

Vitalie vitalijalbu

😎
At the gym
View GitHub Profile
@vitalijalbu
vitalijalbu / App.jsx
Created May 30, 2024 13:57
ReactJS - Native Toast DOM (no components imported)
import "./styles.css";
import useToast from "./useToast";
export default function App() {
const showToast = useToast();
const handleClick = () => {
showToast({
title: "Account created.",
description: "We've created your account for you.",
@vitalijalbu
vitalijalbu / README.md
Last active May 22, 2024 07:46
Chakra UI Dialog Alert Confirm

Chakra UI Dialog Alert Confirm React 18

How to use?

  import { Confirm } from  "../link-to-file";

/* Confirmation Delete */