Skip to content

pantoken / custom-components

custom-components

베타

@pantoken/plugin-custom-components — 다운스트림 소비자용 사용자 정의 컴포넌트.

예제

ts
import { toCss } from "@pantoken/css";
import { byTheme } from "@pantoken/tokens";
import { customComponents } from "@pantoken/plugin-custom-components";

const css = toCss(byTheme("rebrand"), { plugins: [customComponents()] });
// appends all custom-component rules to the token sheet

인터페이스

함수

참조

default

customComponents의 이름을 변경하고 재내보냅니다.