Skip to content

RedDokia API 레퍼런스 / getRedDokiaIconSvg

함수: getRedDokiaIconSvg() ​

ts
function getRedDokiaIconSvg(name, size?): string;

매개변수 ​

매개변수유형기본 값설명
namestringundefinedBuilt-in icon key in RedDokiaIcons or inline <svg> string
size?number16Width and height in pixels (default: 16)

반환 형식: ​

string

SVG markup string, or '' if the icon name is not found 내장 RedDokiaIcons 이름(또는 인라인 <svg> 문자열)에 해당하는 <svg>...</svg> 마크업 문자열을 반환합니다.