package.plugin.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tailwindcss Show documentation
Show all versions of tailwindcss Show documentation
A utility-first CSS framework for rapidly building custom user interfaces.
import type { Config, PluginCreator } from './types/config'
type Plugin = {
withOptions(
plugin: (options: T) => PluginCreator,
config?: (options: T) => Partial
): { (options: T): { handler: PluginCreator; config?: Partial }; __isOptionsFunction: true }
(plugin: PluginCreator, config?: Partial): { handler: PluginCreator; config?: Partial }
}
declare const plugin: Plugin
export = plugin