Add JSDoc comments

Yay
This commit is contained in:
Ryan Gossiaux
2022-03-07 16:34:56 -08:00
parent 5e17e2cb56
commit cc27615e96
17 changed files with 85 additions and 6 deletions

View File

@@ -2,7 +2,10 @@
type TMenuItemProps<
TSlotProps extends {},
TAsProp extends SupportedAs
> = TPassThroughProps<TSlotProps, TAsProp, "a"> & {};
> = TPassThroughProps<TSlotProps, TAsProp, "a"> & {
/** Whether the item should be disabled for keyboard navigation and ARIA purposes */
disabled?: boolean;
};
</script>
<script lang="ts">