@create-figma-plugin/ui
Version:
Production-grade Preact components that replicate the Figma UI design
9 lines • 460 B
TypeScript
import { ComponentChildren } from 'preact';
import { IconColor } from '../types/colors.js';
export type IconProps = {
color?: IconColor;
};
export declare function createIcon(svg: ComponentChildren): import("preact").FunctionalComponent<Omit<import("../utilities/create-component.js").MixinHTMLElementAttributes<HTMLDivElement, IconProps>, "ref"> & {
ref?: import("preact").Ref<HTMLDivElement> | undefined;
}>;
//# sourceMappingURL=create-icon.d.ts.map