Skip to content

PlantDetails

View source on GitHub

Displays detailed information about a plant, including origin, harvest/buy details, state, and age. Fetches plant details from the API or uses provided distilledPlant prop. *

Props

NameTypeRequiredDescription
plantIdstringnoThe ID of the plant to fetch details for.
distilledPlantDistillationArchivePlantnoPre-fetched plant details (used for distillation archive).

Exposed Methods

fetchPlantDetails()

Fetches the plant details by plant ID from GraphQL API.