Expression
Use the EuiExpression
component to surface expressions. The requires both a description
(left side) and value
(right side). Optionally, you can pass it an onClick
function that will convert it to a button and add some additional styling to indicate that it is clickable.
Colors
You can pass a color
prop but it will only color the description
.
Secondary isDefault()Primary color()accent color()warning color()danger color()subdued color()active state will get color() as well
Stringing a bunch together
If the expression is more than one description and value, you can string multiple expressions together and they should inline together and wrap at logical points.
From kibana_sample_data_ky_counties lefton left.smis = right.kytccountynmbr