scenarioFactsView
Convenience wrapper — projects `Facts` from the named scenario in `scenarios`.
Convenience wrapper — projects Facts from the named scenario in scenarios.
Import from @homepages/template-kit/fixtures.
Signature
Section titled “Signature”function scenarioFactsView(key: ScenarioKey, opts?: { year?: number; }): FactsParameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
key |
ScenarioKey |
required | |
opts |
{ year?: number } |
optional |
Returns
Section titled “Returns”Facts