11 lines
335 B
JavaScript
11 lines
335 B
JavaScript
import * as React from 'react';
|
|
/**
|
|
* @internal
|
|
*/ export const BackgroundAppearanceContext = React.createContext(undefined);
|
|
/**
|
|
* @internal
|
|
*/ export const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;
|
|
export function useBackgroundAppearance() {
|
|
return React.useContext(BackgroundAppearanceContext);
|
|
}
|