The theme doesn't exist on props when used from the alerting management screen (#62811)

This commit is contained in:
Phillip Burch 2020-04-08 11:38:23 -05:00 committed by GitHub
parent 8d8c41153a
commit 18c3f75bfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -320,11 +320,11 @@ interface ExpressionRowProps {
const StyledExpressionRow = euiStyled(EuiFlexGroup)`
display: flex;
flex-wrap: wrap;
margin: 0 -${props => props.theme.eui.euiSizeXS};
margin: 0 -4px;
`;
const StyledExpression = euiStyled.div`
padding: 0 ${props => props.theme.eui.euiSizeXS};
padding: 0 4px;
`;
export const ExpressionRow: React.FC<ExpressionRowProps> = props => {