@atlaskit/primitives
Version:
Primitives are token-backed low-level building blocks.
11 lines (10 loc) • 324 B
TypeScript
import type { BackgroundColorToken } from './types';
/**
* __useSurface__
*
* Return the current surface. If no parent sets a surface color it falls back to the default surface.
*
* @see SurfaceContext
*/
export declare const useSurface: () => BackgroundColorToken;
export { SurfaceContext } from './surface-context';