useChromeLayout
Reads the chrome layout. Outside a MapChrome it returns a harmless default
(sheet layout, no-op publishers) so a component can be tested on its own.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { useChromeLayout } from "@mapcairn/map";
function useChromeLayout(): ChromeLayoutValue;
Returns
ChromeLayoutValue