import Button from './components/button';
import Markdown from './components/markdown';
import Text from './components/text';
import Container from './components/container';
import Image from './components/image.json';
import Link from './components/link.json';
// import Picker from './components/picker/picker.json';
// import DatePicker from './components/picker/datePicker.json';
// import TimePicker from './components/picker/timePicker.json';
import Input from './components/form/input.json';
import Textarea from './components/form/textarea.json';
import Radio from './components/form/radio.json';
import Checkbox from './components/form/checkbox.json';
import Switch from './components/form/switch.json';
import Form from './components/form/form.json';
import Select from './components/form/select.json';
import Auth from './components/auth.json';
import Slot from './components/slot.json';
import Uploader from './components/form/uploader.json';
import ScrollView from './components/scrollVeiw.json';
import Swiper from './components/swiper.json';
// import Label from './components/form/label.json';
import Tips from './components/form/tips.json';
import Modal from './components/modal.json';
import Drawer from './components/drawer.json';
import RichText from './components/form/richText.json';
import RichTextView from './components/richtextview.json';
import Tabs from './components/tabs';

import showToast from './actions/showToast';
import showModal from './actions/showModal';

export const components = {
  Button,
  Markdown,
  Text,
  Container,
  Image,
  // Picker,
  // DatePicker,
  // TimePicker,
  Input,
  Radio,
  Checkbox,
  Switch,
  Form,
  Textarea,
  // Cells,
  Select,
  Auth,
  Slot,
  Uploader,
  ScrollView,
  Swiper,
  // Label,
  Tips,
  Modal,
  RichText,
  RichTextView,
  Link,
  Drawer,
  Tabs
  
};

export const actions = {
  showToast,
  showModal,
};

export default {
  components,
  actions,
};
