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

element?

string

modifier?

string | string[]

Returns

string | null

Built by Prozilla