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

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);
        });
    }
};
