@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
21 lines • 1.14 kB
JavaScript
import React from "react";
import { ObjectiveStatus } from "./ObjectiveStatus.js";
import { ReportDecorator, CardDecorator } from "./storybook/index.js";
export default {
component: ObjectiveStatus,
title: "Components/ObjectiveStatus",
decorators: [CardDecorator, ReportDecorator],
};
export const yes = () => (React.createElement(ObjectiveStatus, { status: "yes", msg: React.createElement(React.Fragment, null,
"This MPA meets the objective of protecting ",
React.createElement("b", null, "20%"),
" of key habitat") }));
export const no = () => (React.createElement(ObjectiveStatus, { status: "no", msg: React.createElement(React.Fragment, null,
"This MPA does not meet the objective of protecting ",
React.createElement("b", null, "20%"),
" of key habitat") }));
export const maybe = () => (React.createElement(ObjectiveStatus, { status: "maybe", msg: React.createElement(React.Fragment, null,
"This MPA may meet the objective of protecting ",
React.createElement("b", null, "20%"),
" of key habitat") }));
//# sourceMappingURL=ObjectiveStatus.stories.js.map