astro-tips
Version:
🎨 Beautiful, customizable tip and notice blocks for Astro - 16 built-in styles with auto dark mode support and built-in compression
17 lines • 576 B
TypeScript
export declare function isTipVariant(variant: string): boolean;
export declare function createTipNode(type: string, attrs?: Record<string, any>, children?: any[]): any;
export declare function isDirective(node: any): boolean;
export declare function generateCompleteStyle(style: {
light?: {
background?: string;
};
dark?: {
background?: string;
};
border?: string;
}): string;
export declare function createTipBox(variant: string, config: {
icon: string;
style?: any;
}, children: any[]): string;
//# sourceMappingURL=utils.d.ts.map