Skip to content

PlayMeta

Eray Alkış edited this page Apr 27, 2022 · 2 revisions

PlayMeta

Used in src/common/routing/RouteDefs.jsx

Takes in a destructured object consisting of a Play's meta data. Applies the necessary meta tags using react-helmet and returns the Play component along with the new metadata.

(The metadata for plays can be found in src/meta/play-meta.js)

The props used for this component is as such:

prop type
id number
name string
description string
path string
cover string
component func