setDetent
Moves the sheet to a detent. Ignored unless the sheet is open.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { setDetent } from "@mapcairn/core";
function setDetent(detent: SheetDetent): SurfaceAction;
Parameters
detent(SheetDetent)
Returns
SurfaceAction