<script>
import BaseComponent from '@primevue/core/basecomponent';
import ScrollAreaViewportStyle from 'primevue/scrollareaviewport/style';

export default {
    name: 'BaseScrollAreaViewport',
    extends: BaseComponent,
    props: {
        as: {
            type: [String, Object],
            default: 'DIV'
        },
        asChild: {
            type: Boolean,
            default: false
        }
    },
    style: ScrollAreaViewportStyle,
    provide() {
        return {
            $pcScrollAreaViewport: this,
            $parentInstance: this
        };
    }
};
</script>
