Skip to content

Hook useStaticClassName() ​

useStaticClassName(block?: string, element?: string, modifier?: string | string[]): string | null

Source: classNames.ts

Generates static class name using BEM notation.

Parameters ​

block? ​

string

The name of the block.

element? ​

string

The name of the element.

modifier? ​

string | string[]

The name of the modifier(s).

Returns ​

string | null

Built by Prozilla