0.0.6 • Published 3 years ago
@civilstonks/civilstonks-components v0.0.6
civilstonks-components
Made with create-react-library
Environment Variables
REACT_APP_CIVILSTONKS_API
(required) - URL for the civil stonks API (must have a trailing slash)- E.g.
https://api.civilstonks.com/
- E.g.
Events Data
uuid
required unique identifiertype
requiredcrypto
|stock
ticker
required ticker identifier (crypto or stock 3/4 digit identifer)title
requiredtwitter_id
optionaldescription
optional
Example
{
"uuid": "1984407c-5523-448a-a718-754c869d3782",
"type": "crypto",
"ticker": "DOGE",
"title": "Elon Doge Coin",
"twitter_id": "1391523807148527620",
"description": "Elon Musk tweets about Doge Coin spiking the price"
}
Development Notes
Create React Library doesn't support JSX fragments as <>...</>
, you have to explicitly type <Fragment>...</Fragment>
(Github Issue).
License
MIT © civilstonks