mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-17 04:09:48 +08:00
20 lines
465 B
TypeScript
20 lines
465 B
TypeScript
import * as React from 'react';
|
|
import { ThemeShape, IconSource } from '../types';
|
|
|
|
export interface ChipProps {
|
|
mode?: 'flat' | 'outlined';
|
|
children: React.ReactNode;
|
|
icon?: IconSource;
|
|
avatar?: React.ReactNode;
|
|
selected?: boolean;
|
|
disabled?: boolean;
|
|
accessibilityLabel?: string;
|
|
onPress?: () => any;
|
|
onClose?: () => any;
|
|
style?: any;
|
|
theme?: ThemeShape;
|
|
testID?: string;
|
|
}
|
|
|
|
export declare class Chip extends React.Component<ChipProps> {}
|