12 lines
349 B
JavaScript
12 lines
349 B
JavaScript
'use client';
|
|
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);
|
|
}
|