InfoBox message on view maps sidebar
This commit is contained in:
parent
447b5acf09
commit
fe7f55ef67
@ -6,6 +6,7 @@ import { EditIcon } from './icons';
|
|||||||
import './legend.css';
|
import './legend.css';
|
||||||
|
|
||||||
import CONFIG from './fields-config.json';
|
import CONFIG from './fields-config.json';
|
||||||
|
import InfoBox from './info-box';
|
||||||
|
|
||||||
|
|
||||||
const LEGEND_CONFIG = {
|
const LEGEND_CONFIG = {
|
||||||
@ -86,7 +87,7 @@ const Legend = (props) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Sidebar title="View Maps">
|
<Sidebar title="View Maps">
|
||||||
<p className="data-intro">Click on the map to see more information about a building…</p>
|
<InfoBox msg="Click on the map to see more information about a building…" />
|
||||||
{
|
{
|
||||||
CONFIG.map((data_group) => (
|
CONFIG.map((data_group) => (
|
||||||
<LegendGroup {...data_group} maps={LEGEND_CONFIG[data_group.slug]}
|
<LegendGroup {...data_group} maps={LEGEND_CONFIG[data_group.slug]}
|
||||||
|
Loading…
Reference in New Issue
Block a user