UNPKG

nudge-components-library

Version:

A library of nudge UI components

24 lines 985 B
import React from "react"; import "../../styles/globals.css"; import "../../styles/tokens.css"; import "../../styles/globals.css"; export type RadioGroupProps = { radioLabel?: string; label: string; value: string; checked?: boolean; defaultChecked?: boolean; onChange?: (value: string) => void; name: string; disabled?: boolean; nudgeText?: string; id?: string; ariaLabel?: string; onFocus?: React.FocusEventHandler<HTMLInputElement>; onBlur?: React.FocusEventHandler<HTMLInputElement>; nudgeVisible?: boolean; nudgePosition?: "top" | "bottom" | "left" | "right"; renderNudge?: (checked: boolean) => React.ReactNode; }; export declare function RadioGroup({ radioLabel, label, value, checked, defaultChecked, onChange, name, disabled, nudgeText, id, ariaLabel, onFocus, onBlur, nudgeVisible, nudgePosition, renderNudge, }: RadioGroupProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=RadioGroup.d.ts.map