@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
36 lines • 1.2 kB
JavaScript
import React from "react";
import { RbcsLearnMore } from "./RbcsLearnMore.js";
import { ReportDecorator, CardDecorator, } from "../../components/storybook/index.js";
export default {
component: RbcsLearnMore,
title: "Components/Rbcs/RbcsLearnMore",
decorators: [CardDecorator, ReportDecorator],
};
const objectives = [
{
objectiveId: "eez",
shortDesc: "30% of EEZ protected",
target: 0.3,
countsToward: {
"Fully Protected Area": "yes",
"Highly Protected Area": "yes",
"Moderately Protected Area": "no",
"Poorly Protected Area": "no",
"Unprotected Area": "no",
},
},
{
objectiveId: "eezNoTake",
shortDesc: "15% of EEZ no-take protection",
target: 0.15,
countsToward: {
"Fully Protected Area": "yes",
"Highly Protected Area": "no",
"Moderately Protected Area": "no",
"Poorly Protected Area": "no",
"Unprotected Area": "no",
},
},
];
export const simple = () => React.createElement(RbcsLearnMore, { objectives: objectives });
//# sourceMappingURL=RbcsLearnMore.stories.js.map