uploadthing
Version:
Learn more: [docs.uploadthing.com](https://docs.uploadthing.com)
42 lines (38 loc) • 1.39 kB
TypeScript
import * as tailwindcss_types_config75 from "tailwindcss/types/config";
import * as tailwindcss_types_config23 from "tailwindcss/types/config";
import { Config } from "tailwindcss";
//#region src/tw/plugin.d.ts
/**
* UploadThing Tailwind plugin which injects custom variants
* for the built-in UI components
* @see https://docs.uploadthing.com/concepts/theming#theming-with-tailwind-css
*
* When using this, you need to specify `content` manually. For automatic
* detection, see {@link withUt}.
*/
/**
* UploadThing Tailwind plugin which injects custom variants
* for the built-in UI components
* @see https://docs.uploadthing.com/concepts/theming#theming-with-tailwind-css
*
* When using this, you need to specify `content` manually. For automatic
* detection, see {@link withUt}.
*/
declare const uploadthingPlugin: {
handler: tailwindcss_types_config75.PluginCreator;
config?: Partial<tailwindcss_types_config75.Config>;
};
//#endregion
//#region src/tw/index.d.ts
//# sourceMappingURL=plugin.d.ts.map
/**
* HOF for Tailwind config that adds the
* {@link uploadthingPlugin} to the Tailwind config
* as well as adds content paths to detect the necessary
* classnames
*/
declare function withUt(twConfig: Config): tailwindcss_types_config23.Config;
//#endregion
//# sourceMappingURL=index.d.ts.map
export { uploadthingPlugin, withUt };
//# sourceMappingURL=index.d.ts.map