Open in CodeSandbox
or view below
CodeSandbox playground