Skip to content

WithBemConfig

Defined in: types.js:23

optional block?: string | false

Defined in: types.js:26

Block for the component’s own class: a string sets it explicitly, false makes element a root, omitting it inherits from context. Descendants always re-root to element regardless.


element: string

Defined in: types.js:24

The element name; also becomes the block for descendants.


optional modifiers?: string[]

Defined in: types.js:25

Prop names whose values are promoted to BEM modifiers.


optional stripModifierProps?: boolean

Defined in: types.js:29

Omit modifier props from the wrapped component.