Skip to content

PlayMeta

Tapas Adhikary edited this page May 17, 2022 · 2 revisions

How did we include play meta information when we share it on Social Media?

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