WithBemConfig
Defined in: types.js:23
Properties
Section titled “Properties”block?
Section titled “block?”
optionalblock?: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
Section titled “element”element:
string
Defined in: types.js:24
The element name; also becomes the block for descendants.
modifiers?
Section titled “modifiers?”
optionalmodifiers?:string[]
Defined in: types.js:25
Prop names whose values are promoted to BEM modifiers.
stripModifierProps?
Section titled “stripModifierProps?”
optionalstripModifierProps?:boolean
Defined in: types.js:29
Omit modifier props from the wrapped component.
