Surface
A translucent surface with backdrop blur, used by every floating control. Floating surfaces carry a shadow rather than a visible border.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { Surface } from "@mapcairn/map";
function Surface(input: SurfaceProps): JSX.Element;
Parameters
{ as: Component, variant, radius, className, ...rest }input(SurfaceProps)
Returns
JSX.Element
Remarks
Pass data-chrome and data-testid straight through; a
section, aside or nav needs an accessible name from the caller.