import React from 'react'; import { CodeEditor, Select } from '@grafana/ui'; import { RuleType, RuleSetting, PipeLineEntitiesInfo } from './types'; interface Props { ruleType: RuleType; onChange: (value: RuleSetting) => void; value: RuleSetting; entitiesInfo: PipeLineEntitiesInfo; } export const RuleSettingsEditor: React.FC = ({ onChange, value, ruleType, entitiesInfo }) => { return ( <>