<script>
import BaseComponent from '@primevue/core/basecomponent';
import SidebarMenuSubButtonStyle from 'primevue/sidebarmenusubbutton/style';

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