UNPKG

@firecms/ui

Version:

Awesome Firebase/Firestore-based headless open-source CMS

8 lines (7 loc) 277 B
/** * Use this hook to create a `<style>` element and inject it into the DOM. * It checks if the style already exists, and if it does, it does not inject it again. * @param key * @param styles */ export declare function useInjectStyles(key: string, styles: string): void;