UNPKG

@oslokommune/punkt-react

Version:

React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo

21 lines (20 loc) 747 B
import { ChangeEventHandler, InputHTMLAttributes, ReactNode } from 'react'; export interface IPktRadioButton extends InputHTMLAttributes<HTMLInputElement> { id: string; name: string; label: string; hasTile?: boolean; disabled?: boolean; checkHelptext?: ReactNode | ReactNode[] | string; defaultChecked?: boolean; checked?: boolean; hasError?: boolean; value?: string; optionalTag?: boolean; optionalText?: string; requiredTag?: boolean; requiredText?: string; tagText?: string | null; onChange?: ChangeEventHandler<HTMLInputElement>; } export declare const PktRadioButton: import('react').ForwardRefExoticComponent<IPktRadioButton & import('react').RefAttributes<HTMLInputElement>>;