MCPcopy
hub / github.com/tailwindlabs/tailwindcss / static

Method static

packages/tailwindcss/src/utilities.ts:108–110  ·  view source on GitHub ↗
(name: string, compileFn: CompileFn<'static'>)

Source from the content-addressed store, hash-verified

106 private completions = new Map<string, () => SuggestionGroup[]>()
107
108 static(name: string, compileFn: CompileFn<'static'>) {
109 this.utilities.get(name).push({ kind: 'static', compileFn })
110 }
111
112 functional(name: string, compileFn: CompileFn<'functional'>, options?: UtilityOptions) {
113 this.utilities.get(name).push({ kind: 'functional', compileFn, options })

Callers 4

createUtilitiesFunction · 0.95
staticUtilityFunction · 0.45
spacingUtilityFunction · 0.45
createCssUtilityFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected