UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

9 lines (8 loc) 397 B
/** * Wraps the default export of a JavaScript module with a given function. * * @param {string} content - The content of the JavaScript module. * @param {string} withFunction - The function to wrap the default export with. * @returns {string} The modified content with the default export wrapped. */ export declare function wrapDefaultExport(content: string, withFunction: string): string;