# 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

```ts
import { useChromeLayout } from "@mapcairn/map";
 
function useChromeLayout(): ChromeLayoutValue;
```

## Returns

`ChromeLayoutValue`

## See also

- [`ChromeLayoutValue`](https://docs.mapcairn.com/api/map/ChromeLayoutValue.md)

Source: [packages/map/src/chrome/layoutContext.tsx:63](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/chrome/layoutContext.tsx#L63)
