import * as React from 'react'; import { TextStyle, ViewStyle } from 'react-native'; import { MDIconSize } from '../icon'; export interface IMDAgreeProps { styles?: IMDAgreeStyle; content: React.ReactNode; disabled?: boolean; checked?: boolean; size?: number | MDIconSize; onChange?: (param: boolean) => void; } export interface IMDAgreeState { checked?: boolean; } export interface IMDAgreeStyle { wrapper?: ViewStyle; content?: TextStyle | ViewStyle; disable?: ViewStyle; } export declare const MDAgreeStyles: IMDAgreeStyle; export default class MDAgree extends React.Component { static defaultProps: { styles: IMDAgreeStyle; content: string; disabled: boolean; checked: boolean; size: string; }; constructor(props: IMDAgreeProps); render(): JSX.Element; private renderIcon; private renderContent; private checkAction; }