import * as React from "react"; import styled from "styled-components"; type Props = { status: string; color: string; size?: number; className?: string; }; /** * Issue status icon based on GitHub pull requests, but can be used for any git-style integration. */ export function PullRequestIcon({ size, ...rest }: Props) { return ( ); } const Icon = styled.span<{ size?: number }>` display: inline-flex; flex-shrink: 0; width: ${(props) => props.size ?? 24}px; height: ${(props) => props.size ?? 24}px; align-items: center; justify-content: center; `; function BaseIcon(props: Props) { switch (props.status) { case "open": return ( ); case "merged": return ( ); case "closed": return ( ); default: return null; } }