import BIcon from './BIcon';
import BImage from './DEV/BImage';
import BInput from './DEV/BInput';
import BProgress from './BProgress';
import BSlider from './BSlider';
import BSwitch from './BSwitch';
import BText from './BText';
import BTextarea from './DEV/BTextarea';
import Checkbox from './Checkbox';
import CheckboxGroup from './CheckboxGroup';
import Follow from './Follow';
import Picker from './DEV/Picker';
import Radio from './Radio';
import RadioGroup from './RadioGroup';
import RichText from './RichText';
import ScrollView from './ScrollView';
import Swiper from './Swiper';
import WebView from './WebView';

const COMPONENTS = [
    BIcon,
    BImage,
    BInput,
    BProgress,
    BSlider,
    BSwitch,
    BText,
    BTextarea,
    Checkbox,
    CheckboxGroup,
    Follow,
    Picker,
    Radio,
    RadioGroup,
    RichText,
    ScrollView,
    Swiper,
    WebView
];

export default {
    install(Vue) {
        COMPONENTS.forEach(component => {
            component.install(Vue);
        });
    }
};
