Skip to content

Instantly share code, notes, and snippets.

@NaitoKenzo
Last active February 28, 2019 09:46
Show Gist options
  • Save NaitoKenzo/f7cc3d60225970dd57f43b68a24d2a00 to your computer and use it in GitHub Desktop.
Save NaitoKenzo/f7cc3d60225970dd57f43b68a24d2a00 to your computer and use it in GitHub Desktop.
Visual bugs
import React from 'react'
import { Key } from '.'
const testCases = [
{ status: 'DISABLED' },
{ status: 'SELECTABLE' },
{ status: 'SUBMITTED' },
{ status: 'SELECTED' },
{ status: 'USED' },
]
const Keys = () => (
<div className="testCase">
{testCases.map(({ status }, index) => (
<Key
key={index}
status={status}
>
a
</Key>
))}
<div/>
)
Keys.displayName = 'Keys'
export default Keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment