UNPKG

@eccenca/gui-elements

Version:

GUI elements based on other libraries, usable in React application, written in Typescript.

12 lines (11 loc) 527 B
import React from "react"; import { RadioProps as BlueprintRadioProps } from "@blueprintjs/core"; export interface RadioButtonProps extends BlueprintRadioProps { /** * Hide the indicator. * The element cannot be identified as radio input then but a click on the children can be easily processed via `onChange` event. */ hideIndicator?: boolean; } export declare const RadioButton: ({ children, className, hideIndicator, ...restProps }: RadioButtonProps) => React.JSX.Element; export default RadioButton;