UNPKG

artwork-react-native

Version:

artwork design master for react-native

28 lines (27 loc) 824 B
/// <reference types="react" /> /// <reference types="react-native" /> import React from 'react'; import { IAccordionStyle } from './style'; import { AccordionProps } from './PropsType'; export interface AccordionPanelProps { key?: string; header: any; } export interface IAccordionNativeProps extends AccordionProps { styles?: IAccordionStyle; } declare class Accordion extends React.Component<IAccordionNativeProps, any> { static Panel: any; static defaultProps: { styles: { [x: string]: number & { __registeredStyleBrand: any; }; }; }; _renderHeader: (section: any, _: any, isActive: any) => JSX.Element; _renderContent: (section: any) => any; onChange: (idx: any) => void; render(): JSX.Element; } export default Accordion;