Manta Developers
GitHub
Menu

@manta-eu/react/screens/plans

Reference for @manta-eu/react/screens/plans as it is on main.

Type Aliases

ActionPlanDetailAdapterResult

ActionPlanDetailAdapterResult = object

Properties

graphDocument

graphDocument: RdfGraph | null

plan

plan: { createdBy: ActionPlanGraph["createdBy"]; description: string | null; duration: string | null; estimatedCost?: GQLQuantitativeValue | null; estimatedReturn?: GQLQuantitativeValue | null; estimatedROI?: GQLQuantitativeValue | null; hasCurrentFacts: boolean; hasExecutionHistory: boolean; iri: string; potentialProfit?: GQLQuantitativeValue | null; primaryIntegration: GQLIntegration | null; state: GQLActionPlanState; } | null


ActionPlanGraph

ActionPlanGraph = GQLActionPlansQuery["actionPlans"]["plans"][number]


PlansScreenProps

PlansScreenProps = object

Properties

renderWhyThisPlan?

optional renderWhyThisPlan?: RenderWhyThisPlan

showStepsRow?

optional showStepsRow?: boolean


RenderWhyThisPlan

RenderWhyThisPlan = (props) => ReactNode

Parameters

props

WhyThisPlanProps

Returns

ReactNode


WhyThisPlanPlan

WhyThisPlanPlan = NonNullable<ActionPlanDetailAdapterResult["plan"]>


WhyThisPlanProps

WhyThisPlanProps = object

Properties

LinkComponent

LinkComponent: ActionPlanLinkComponent

plan

plan: WhyThisPlanPlan

planGraphIri

planGraphIri: string

Functions

PlansScreen()

PlansScreen(props?): Element

Parameters

props?

PlansScreenProps = {}

Returns

Element


renderDefaultWhyThisPlan()

renderDefaultWhyThisPlan(props): ReactNode

Parameters

props

WhyThisPlanProps

Returns

ReactNode