UNPKG

4.05 kBTypeScriptView Raw
1import './typings';
2import { Icon, Text, Thumbnail } from 'native-base';
3import { NBButtonProperties } from './components/Button';
4import { CardProps } from './components/Card';
5import { CardViewMedia } from './components/cardViewMedia';
6import { DrawerProps } from './components/Drawer/Drawer.component';
7import { ListItemProps } from './components/ListItem';
8import { Plugin } from '@blueeast/bluerain-os';
9import { ScrollViewProperties } from './components/ScrollView';
10import { ExpansionPanel } from './components/ExpansionPanel';
11import { ProgressBar } from './components/Progressbar';
12import { AppBarProperties, CheckboxProperties, CardBodyProperties, CardMediaProperties, CardHeaderProperties, CardFooterProperties, DividerProperties, ListProperties, PickerItemProperties, ListSubheaderProperties } from '@blueeast/bluerain-ui-interfaces';
13import { SwitchProps } from './components/Switch';
14import { SliderProps } from './components/Slider';
15import { DatePickerProperties } from './components/DatePicker';
16import React from 'react';
17/**
18 * ReactNativeBasePlugin Plugin
19 * @property {string} pluginName "ReactNativeBasePlugin"
20 * @property {string} slug "react-native-base-plugin"
21 */
22declare class ReactNativeBasePlugin extends Plugin {
23 static pluginName: string;
24 static slug: string;
25 static components: {
26 Text: typeof Text;
27 Button: React.FunctionComponent<NBButtonProperties>;
28 Icon: typeof Icon;
29 Card: (props: CardProps) => JSX.Element;
30 CardBody: (props: CardBodyProperties) => JSX.Element;
31 CardFooter: (props: CardFooterProperties) => JSX.Element;
32 CardHeader: ({ actions, avatar, children, style, title, subtitle }: CardHeaderProperties) => JSX.Element;
33 CardMedia: React.FunctionComponent<CardMediaProperties>;
34 DatePicker: (props: DatePickerProperties) => JSX.Element;
35 DropDown: (props: any) => JSX.Element;
36 DropDownItem: (props: PickerItemProperties) => JSX.Element;
37 TextInput: React.ComponentType<any>;
38 Modal: (props: any) => JSX.Element;
39 List: React.FunctionComponent<ListProperties>;
40 Checkbox: (props: CheckboxProperties) => JSX.Element;
41 ListItem: React.FunctionComponent<ListItemProps>;
42 ListSubheader: ({ color, children }: ListSubheaderProperties) => JSX.Element;
43 Divider: React.ComponentType<DividerProperties>;
44 H1: React.FunctionComponent<{
45 style?: object | undefined;
46 }>;
47 H2: React.FunctionComponent<{
48 style?: object | undefined;
49 }>;
50 H3: React.FunctionComponent<{
51 style?: object | undefined;
52 }>;
53 H4: React.FunctionComponent<{
54 style?: object | undefined;
55 }>;
56 H5: React.FunctionComponent<{
57 style?: object | undefined;
58 }>;
59 H6: React.FunctionComponent<{
60 style?: object | undefined;
61 }>;
62 Subtitle1: React.FunctionComponent<{
63 style?: object | undefined;
64 }>;
65 Subtitle2: React.FunctionComponent<{
66 style?: object | undefined;
67 }>;
68 Body1: typeof Text;
69 Body2: React.FunctionComponent<{
70 style?: object | undefined;
71 }>;
72 Caption: React.FunctionComponent<{
73 style?: object | undefined;
74 }>;
75 ScrollView: (props: ScrollViewProperties) => JSX.Element;
76 Overline: React.FunctionComponent<{
77 style?: object | undefined;
78 }>;
79 AppBar: React.FunctionComponent<AppBarProperties>;
80 Drawer: React.FunctionComponent<DrawerProps>;
81 Avatar: typeof Thumbnail;
82 Switch: (props: SwitchProps) => JSX.Element;
83 Slider: React.FunctionComponent<SliderProps>;
84 CardViewMedia: typeof CardViewMedia;
85 SearchBar: (props: import("./components/SearchBar/SearchBar.component").SearchBarProperties) => JSX.Element;
86 ExpansionPanel: typeof ExpansionPanel;
87 ProgressBar: typeof ProgressBar;
88 };
89}
90export default ReactNativeBasePlugin;