Skip to content

Function: hoverForClass()

ts
function hoverForClass(
   base, 
   token, 
   index, 
   detail?, 
   sections?, 
   sectionOrder?): Hover | undefined;

Defined in: packages/providers/src/index.ts:172

Hover for a class token: the modifier's docs, else the component's card (at the given detail).

Parameters

base

string

token

string

index

CssDocIndex

detail?

HoverDetail = "full"

sections?

HoverSections

sectionOrder?

HoverSectionOrder

Returns

Hover | undefined

Released under the MIT License