import * as React from 'react'; import { ViewStyle } from 'react-native'; import { IMDOptionSet, IMDOptionValue } from '../types'; export interface IMDRadioListProps { style?: ViewStyle | ViewStyle[]; options?: IMDOptionSet[]; defaultValue?: IMDOptionValue; hasInput?: boolean; inputLabel?: string; inputPlaceHolder?: string; alignCenter?: boolean; optionRender?: (option: IMDOptionSet) => React.ReactNode; onChange?: (value: IMDOptionValue, index: number) => void; icon?: React.ReactNode; iconInverse?: React.ReactNode; iconDisabled?: React.ReactNode; iconPosition?: 'left' | 'right'; } interface IMDRadioListState { value: any; inputText: string; } export default class MDRadioList extends React.Component { static defaultProps: { options: never[]; hasInput: boolean; inputLabel: string; inputPlaceholder: string; alignCenter: boolean; icon: JSX.Element; iconInverse: JSX.Element; iconDisabled: JSX.Element; iconPosition: string; }; constructor(props: IMDRadioListProps); componentWillReceiveProps(nextProps: IMDRadioListProps): void; render(): JSX.Element; select(value: IMDOptionValue): void; selectByIndex(index: number): void; private renderOptionItems; private renderInputItem; private onInputChange; private onItemPressed; } export {};