import React from 'react' ; import { useValues } from 'kea' ; import { EuiFlexGroup , EuiFlexItem } from '@elastic/eui' ; import { EngineLogic } from '../engine' ; import { QueryTesterButton } from '../query_tester' ; export const KibanaHeaderActions = ( ) => { const { engineName } = useValues ( EngineLogic ) ; return ( < EuiFlexGroup gutterSize = "s" > { engineName && ( < EuiFlexItem > < QueryTesterButton /> < /EuiFlexItem>)} < /EuiFlexGroup>); } ;