@@ -53,11 +53,6 @@ export type UseTagGroupMergedProps<Item> = Omit<
5353 Pick < UseTagGroupProps < Item > , 'stateReducer' | 'removeElementDescription' >
5454 >
5555
56- // export type UseTagGroupMergedProps<Item> = Required<
57- // Pick<UseTagGroupProps<Item>, 'stateReducer' | 'removeElementDescription'>
58- // > &
59- // UseTagGroupProps<Item>
60-
6156export interface UseTagGroupInterface {
6257 < Item > ( props ?: UseTagGroupProps < Item > ) : UseTagGroupReturnValue < Item >
6358 stateChangeTypes : {
@@ -83,12 +78,15 @@ export interface UseTagGroupReturnValue<Item> {
8378export interface GetTagPropsOptions extends React . HTMLProps < HTMLElement > {
8479 index : number
8580 refKey ?: string
86- ref ?: React . MutableRefObject < HTMLElement >
81+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- element type unknown at declaration site
82+ ref ?: React . Ref < any >
8783}
8884
8985export interface GetTagPropsReturnValue {
9086 'aria-describedby' : string
9187 id : string
88+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- element type unknown at declaration site
89+ ref ?: React . Ref < any >
9290 role : 'option'
9391 onPress ?: ( event : React . BaseSyntheticEvent ) => void
9492 onClick ?: React . MouseEventHandler
@@ -109,11 +107,14 @@ export interface GetTagRemovePropsReturnValue {
109107
110108export interface GetTagGroupPropsOptions extends React . HTMLProps < HTMLElement > {
111109 refKey ?: string
112- ref ?: React . MutableRefObject < HTMLElement >
110+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- element type unknown at declaration site
111+ ref ?: React . Ref < any >
113112}
114113
115114export interface GetTagGroupPropsReturnValue {
116115 id : string
116+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- element type unknown at declaration site
117+ ref ?: React . Ref < any >
117118 role : 'listbox'
118119 'aria-live' : 'polite'
119120 'aria-atomic' : 'false'
0 commit comments