* chore: add storybook * chore: unify FE codeabse * chore: update eslint rules * chore: harmonize the use of "subtle" color * chore: remove an extra sidebar rail * refactor: make panel items more consistent * chore: cleanups after merging new code from base * refactor: refine composables * fix: add lost import * chore: make icon style consistent * fix: don't show empty "supported" methods * refactor: solidify select items
34 lines
758 B
Vue
34 lines
758 B
Vue
<script setup lang="ts">
|
|
/**
|
|
* @component AppDropdownMenuRadioGroup
|
|
* @description A group for managing mutually exclusive dropdown menu items.
|
|
*/
|
|
import {
|
|
DropdownMenuRadioGroup,
|
|
type DropdownMenuRadioGroupEmits,
|
|
type DropdownMenuRadioGroupProps,
|
|
useForwardPropsEmits,
|
|
} from 'reka-ui';
|
|
|
|
/*
|
|
* Types & Interfaces.
|
|
*/
|
|
|
|
export interface AppDropdownMenuRadioGroupProps extends DropdownMenuRadioGroupProps {}
|
|
|
|
/*
|
|
* Component Setup.
|
|
*/
|
|
|
|
const props = defineProps<AppDropdownMenuRadioGroupProps>();
|
|
const emits = defineEmits<DropdownMenuRadioGroupEmits>();
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits);
|
|
</script>
|
|
|
|
<template>
|
|
<DropdownMenuRadioGroup v-bind="forwarded">
|
|
<slot />
|
|
</DropdownMenuRadioGroup>
|
|
</template>
|