export const logoIcon = ` `; export const envelopeUp = ``; export const envelopeDown = ``; export const jitterIcon = ``; export const messageIcon = ``; export const treeViewIcon = ``; export const infoIcon = ``; export const settingsIcon = ``; export const eyeSlashIcon = ``; export const keyIcon = ``; export const copyIcon = ``; export const networkIcon = ``; export const closeIcon = ``; export const disconnectIcon = ``; /** * Icons ship at two natural sizes (`200px` placeholders and `16`), so the size * attributes are rewritten by pattern rather than by matching one literal. */ export function resizeIcon(svg: string, px: number): string { return svg.replace(/height="[^"]*" width="[^"]*"/, `height="${px}" width="${px}"`); } /** `resizeIcon` plus the inline-flex box that keeps it centered in a text row. */ export function sizedIcon(svg: string, px: number): string { return `` + resizeIcon(svg, px) + ''; }