mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
This commit is contained in:
parent
619cc65197
commit
c5e987bc8a
1 changed files with 12 additions and 4 deletions
|
@ -97,10 +97,18 @@ export const ExpandableSection: FC<ExpandableSectionProps> = ({
|
|||
>
|
||||
{label !== undefined && value !== undefined && (
|
||||
<>
|
||||
<EuiText size="xs" color="subdued">
|
||||
<p>{label}</p>
|
||||
</EuiText>
|
||||
<EuiBadge>{value}</EuiBadge>
|
||||
<EuiFlexGroup>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiText size="xs" color="subdued">
|
||||
<p>{label}</p>
|
||||
</EuiText>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
<EuiFlexGroup>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiBadge>{value}</EuiBadge>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
</>
|
||||
)}
|
||||
{label === undefined && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue