import * as React from "react"; import { Icon } from "../Icon"; export enum PinType { Success = "success", Failed = "failed" } interface IPinProps { type: PinType; } export const Pin = ({ type }: IPinProps) => (
{(() => { switch (type) { case PinType.Failed: return case PinType.Success: default: return } })()}
)