<script>
import BaseComponent from '@primevue/core/basecomponent';
import SidebarGroupActionStyle from 'primevue/sidebargroupaction/style';

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