UNPKG

pxt-core

Version:

Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors

18 lines (17 loc) 518 B
/// <reference types="react" /> import { ControlProps } from "../util"; export interface RadioButtonGroupProps extends ControlProps { id: string; choices: RadioGroupChoice[]; selectedId: string; onChoiceSelected: (id: string) => void; ariaLabelledby?: string; } export interface RadioGroupChoice { title: string; id: string; className?: string; icon?: string; label?: string | JSX.Element; } export declare const RadioButtonGroup: (props: RadioButtonGroupProps) => JSX.Element;