File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
react-aria-components/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ const actionButtonSize = {
320320 XL : 'L'
321321} as const ;
322322
323- export const CoachMarkContext = createContext < ContextValue < CoachMarkProps , HTMLElement > > ( { } ) ;
323+ export const CoachMarkContext = createContext < ContextValue < Partial < CoachMarkProps > , HTMLElement > > ( { } ) ;
324324
325325export const CoachMark = forwardRef ( ( props : CoachMarkProps , ref : ForwardedRef < HTMLElement > ) => {
326326 let colorScheme = useContext ( ColorSchemeContext ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ interface SlottedValue<T> {
2020 slots ?: Record < string | symbol , T >
2121}
2222
23- export type SlottedContextValue < T > = SlottedValue < T > | T | null | undefined ;
23+ export type SlottedContextValue < T > = SlottedValue < T > & T | null | undefined ;
2424export type ContextValue < T , E > = SlottedContextValue < WithRef < T , E > > ;
2525
2626type ProviderValue < T > = [ Context < T > , T ] ;
You can’t perform that action at this time.
0 commit comments