<script>
import BaseComponent from '@primevue/core/basecomponent';
import SidebarRailStyle from 'primevue/sidebarrail/style';

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