@toktokhan-dev/cli-plugin-gen-icon-chakra
Version:
A CLI plugin for generating Chakra UI icons built by TOKTOKHAN.DEV
24 lines (21 loc) • 686 B
TypeScript
import * as _toktokhan_dev_cli from '@toktokhan-dev/cli';
/**
* @category Types
*/
interface GenIconConfig {
/** 조회할 svg 파일들이 포함되어있는 폴더 입니다. */
input: string;
/** 생성될 파일이 위치할 경로입니다.*/
output: string;
/** 제외 될 아이콘 파일을 판별하는 패턴으로써, 파일이름이 패턴과 일치할 경우에 객체에서 제외 됩니다. */
ignored?: string[];
/**
* Chakra UI 버전입니다.
*/
version?: 'v2' | 'v3';
}
/**
* @category Commands
*/
declare const genIcon: _toktokhan_dev_cli.MyCommand<GenIconConfig, "gen:icon">;
export { type GenIconConfig, genIcon };