@knapsack/app
Version:
Build Design Systems with Knapsack
13 lines • 651 B
TypeScript
import { type SlotOptionsComputed, type CodeSrc } from '@knapsack/types';
export declare function hasSlotOptions(slotOptions: SlotOptionsComputed): boolean;
export declare function createSlotOptionsHtmlTags({ slotOptionsComputed, classAttributeName, stylesValueType, }: {
slotOptionsComputed: SlotOptionsComputed;
classAttributeName: 'className' | 'class';
/** if true `style` will be an string, otherwise an object */
stylesValueType: 'string' | 'object';
}): {
openTag: string;
closeTag: string;
};
export declare function isPathCodeSrcPath(path: string): path is CodeSrc['path'];
//# sourceMappingURL=renderer-utils.d.ts.map