File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/react-aria-components/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ export const ColorWheelTrackContext = createContext<ContextValue<ColorWheelTrack
78
78
export const ColorWheelTrack = forwardRef ( function ColorWheelTrack ( props : ColorWheelTrackProps , ref : ForwardedRef < HTMLDivElement > ) {
79
79
[ props , ref ] = useContextProps ( props , ref , ColorWheelTrackContext ) ;
80
80
let state = useContext ( ColorWheelStateContext ) ! ;
81
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
82
+ let { className, style, ...rest } = props ;
81
83
82
84
let renderProps = useRenderProps ( {
83
85
...props ,
@@ -87,11 +89,10 @@ export const ColorWheelTrack = forwardRef(function ColorWheelTrack(props: ColorW
87
89
state
88
90
}
89
91
} ) ;
90
- let DOMProps = filterDOMProps ( props ) ;
91
92
92
93
return (
93
94
< div
94
- { ...DOMProps }
95
+ { ...rest }
95
96
{ ...renderProps }
96
97
ref = { ref }
97
98
data-disabled = { state . isDisabled || undefined } />
You can’t perform that action at this time.
0 commit comments