@figma/code-connect
Version:
A tool for connecting your design system components in code with your design system in Figma
8 lines • 781 B
TypeScript
import { booleanType, enumType, stringType, nestedPropsType, classNameType, textContentType } from '../connect/external_types';
import { HtmlTemplateString } from './template_literal';
import { HtmlMeta } from './types';
declare function connectType<P = {}>(_figmaNodeUrl: string, _meta?: HtmlMeta<P>): void;
declare function childrenType(_layers: string | string[]): HtmlTemplateString;
export declare function instanceType<T = HtmlTemplateString>(_figmaPropName: string): T;
export { booleanType as boolean, enumType as enum, stringType as string, nestedPropsType as nestedProps, classNameType as className, textContentType as textContent, connectType as connect, instanceType as instance, childrenType as children, instanceType as slot, };
//# sourceMappingURL=external.d.ts.map