WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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

Clone this wiki locally