@ugrc/layer-selector
Version:
This is a react component for adding a quick base map selector with a happy path for using [UGRC's Discover Service](https://gis.utah.gov/discover).
23 lines (19 loc) • 525 B
JSX
import { ExpandableContainer } from './';
import './LayerSelector.css';
export default {
component: ExpandableContainer,
};
export const Closed = () => (
<ExpandableContainer>
<div style={{ width: '200px', height: '200px', border: '1px solid black' }}>
peek-a-boo
</div>
</ExpandableContainer>
);
export const Open = () => (
<ExpandableContainer expanded={true}>
<div style={{ width: '200px', height: '200px', border: '1px solid black' }}>
peek-a-boo
</div>
</ExpandableContainer>
);