Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

setup

function setup<Theme = BaseTheme, Presets extends Preset<any>[] = Preset[], SheetTarget = unknown>(
config?: TwindUserConfig<Theme, Presets>,
sheet?: Sheet<SheetTarget> | SheetFactory<SheetTarget>,
target?: HTMLElement,
): Twind<BaseTheme & ExtractThemes<Theme, Presets>, SheetTarget>;
§
setup<Theme = BaseTheme, Presets extends Preset<any>[] = Preset[], SheetTarget = unknown>(config?: TwindUserConfig<Theme, Presets>, sheet?: Sheet<SheetTarget> | SheetFactory<SheetTarget>, target?: HTMLElement): Twind<BaseTheme & ExtractThemes<Theme, Presets>, SheetTarget>
[src]

§Type Parameters

§
Presets extends Preset<any>[] = Preset[]
[src]
§
SheetTarget = unknown
[src]

§Parameters

§
config?: TwindUserConfig<Theme, Presets> optional
[src]
§
sheet?: Sheet<SheetTarget> | SheetFactory<SheetTarget> optional
[src]
§
target?: HTMLElement optional
[src]

§Return Type

§
Twind<BaseTheme & ExtractThemes<Theme, Presets>, SheetTarget>
[src]