import { ScaleType } from '@h5web/shared'; import Selector from '../Selector/Selector'; import ScaleOption from './ScaleOption'; interface Props { label?: string; value: ScaleType; onScaleChange: (scale: ScaleType) => void; options?: ScaleType[]; } function ScaleSelector(props: Props) { const { label, value, onScaleChange, options = Object.values(ScaleType), } = props; return ( ); } export default ScaleSelector;