-
-
Notifications
You must be signed in to change notification settings - Fork 842
PlayMeta
Tapas Adhikary edited this page May 17, 2022
·
2 revisions
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 |
ReactPlay - The MIT License (MIT) Copyright ©2023 is an open-source project made with ❤️ by Tapas Adhikary and friends.