import React from 'react'; import { SelectableValue } from '@grafana/data'; import { RadioButtonGroup, Field } from '@grafana/ui'; import { t } from 'app/core/internationalization'; interface Props { selectedTheme: string; onChange: (value: string) => void; } export const ThemePicker = ({ selectedTheme = 'current', onChange }: Props) => { const themeOptions: Array> = [ { label: t('share-modal.theme-picker.current', `Current`), value: 'current', }, { label: t('share-modal.theme-picker.dark', `Dark`), value: 'dark', }, { label: t('share-modal.theme-picker.light', `Light`), value: 'light', }, ]; return ( ); };