UNPKG

@kvaser/canking-api

Version:

CanKing API to communicate with the CanKing service using Node.js.

26 lines (25 loc) 833 B
import { SxProps, Theme } from '@mui/material'; /** * Properties of the RadioControl React component. */ export interface RadioControlProps { /** The component id. */ id?: string; /** The label to be displayed next to the radio button. */ label: string; /** The value that this radio button represents. */ value: string; /** Set to true to disable this control. */ disabled?: boolean; /** The component size. */ size?: 'small' | 'medium'; /** Optional sx properties. */ sx?: SxProps<Theme>; } /** * Creates a radio button control. * @param props Component properties. * @returns The RadioControl React component. */ declare function RadioControl({ id, label, value, disabled, size, sx, }: RadioControlProps): import("react/jsx-runtime").JSX.Element; export default RadioControl;