This is a low-level primitive intended to be extended by other components. All Box
components will attempt to harden the selector specificity of the styles by including the tag name, id and generated class name. The format of the generated selector will look like the following:
tag
is the html element being rendered. generated-id
is pretty self explanatory (this happens every render). generated-class
is the class name used by emotion
after all styles have been processed and compiled.
Property | Type | Required | Default | Description |
---|---|---|---|---|
is | Union | false | "div" | HTML tag/ React component to render |
important | Bool | false | false | Appends !important to all css rules |
We'll attempt to break the styles set on this by setting some outer rules