import styled from "styled-components"; type Props = { /** A short label rendered inside the badge, four characters or less */ label: string; /** The size of the icon, 24px is default to match standard icons */ size?: number; /** The color of the icon, defaults to the current text color */ color?: string; }; /** * A generic file format icon, a badge outline with the format written inside. * It shares the badge outline of the Markdown icon so a group of format icons * reads as one set. * * @param props The label to display and optional size and color. * @returns an icon representing a file format. */ export function FileFormatIcon({ label, size = 24, color = "currentColor", ...rest }: Props) { return ( ); } const Svg = styled.svg` user-select: none; `;