Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
export interface ActiveEnzymeProps {
color: string;
name: string;
function ActiveEnzyme({color, name}: ActiveEnzymeProps): JSX.Element {
return (
<td className="mono">{name}</td>
<div style={{backgroundColor: color}} className="swatch" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment