Skip to content

Instantly share code, notes, and snippets.

View AncienTree's full-sized avatar

Mateusz Dąbek AncienTree

View GitHub Profile
@yanickrochon
yanickrochon / SignaturePad.jsx
Last active September 8, 2022 19:02
Material UI integration of react-signature-canvas (https://github.com/agilgur5/react-signature-canvas)
import React, { useEffect, useRef, useState } from 'react';
import PropType from 'prop-types';
import { makeStyles } from '@material-ui/core/styles';
import classNames from 'classnames';
import Fade from '@material-ui/core/Fade';
import FormControl from '@material-ui/core/FormControl';
import IconButton from '@material-ui/core/IconButton';
import InputLabel from '@material-ui/core/InputLabel';