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

@@ -50,12 +50,16 @@
return context;
}
type TListboxProps<
TSlotProps extends {},
TAsProp extends SupportedAs
> = TPassThroughProps<TSlotProps, TAsProp, "div"> & {
/** Whether the entire `Listbox` and its children should be disabled */
disabled?: boolean;
/** Whether the entire `Listbox` should be oriented horizontally instead of vertically */
horizontal?: boolean;
/** The selected value */
value?: StateDefinition["value"];
};
</script>