UNPKG

@fremtind/jkl-radio-button-react

Version:
11 lines (10 loc) 468 B
import { Density } from "@fremtind/jkl-core"; import React, { ChangeEventHandler } from "react"; import { RadioButtonProps } from "./RadioButton"; export interface BaseRadioButtonProps extends RadioButtonProps { inline?: boolean; density?: Density; invalid?: boolean; onChange?: ChangeEventHandler<HTMLInputElement>; } export declare const BaseRadioButton: React.ForwardRefExoticComponent<BaseRadioButtonProps & React.RefAttributes<HTMLInputElement>>;