UNPKG

@navinc/base-react-components

Version:
37 lines (36 loc) 2.3 kB
import { ReactNode } from 'react'; import { InferComponentProps } from './types.js'; import { Property } from 'csstype'; declare const RadioIndicator: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, never>, { isInvalid?: boolean; }>> & string; type RadioProps = { asideContent?: boolean; autoFocus?: boolean; checkedBackgroundColor?: Property.BackgroundColor; children?: ReactNode; label?: ReactNode; className?: string; checked?: boolean; disabled?: boolean; hasBorder?: boolean; isInvalid?: boolean; } & InferComponentProps<typeof RadioIndicator>; /** * @deprecated This component is deprecated and will be removed in a future release. Avoid using it in new code. */ export declare const Radio: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components").FastOmit<{ asideContent?: boolean; autoFocus?: boolean; checkedBackgroundColor?: Property.BackgroundColor; children?: ReactNode; label?: ReactNode; className?: string; checked?: boolean; disabled?: boolean; hasBorder?: boolean; isInvalid?: boolean; } & InferComponentProps<import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, never>, { isInvalid?: boolean; }>> & string>, never>> & string & Omit<({ asideContent, autoFocus, checkedBackgroundColor, children: _children, label, className, checked, disabled, hasBorder, isInvalid, ...props }: RadioProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>; export {};