mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-17 04:09:48 +08:00
22 lines
537 B
TypeScript
22 lines
537 B
TypeScript
import * as React from 'react';
|
|
import { ViewProps } from 'react-native';
|
|
import { ThemeShape, IconSource } from '../types';
|
|
|
|
export interface ItemProps extends ViewProps {
|
|
label: string;
|
|
icon?: IconSource;
|
|
active?: boolean;
|
|
theme?: ThemeShape;
|
|
onPress?: () => void;
|
|
}
|
|
|
|
export declare class Item extends React.Component<ItemProps> {}
|
|
|
|
export interface SectionProps extends ViewProps {
|
|
children: React.ReactNode;
|
|
title?: string;
|
|
theme?: ThemeShape;
|
|
}
|
|
|
|
export declare class Section extends React.Component<SectionProps> {}
|