0.4.0 • Published 5 months ago

forkast-labs-components v0.4.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

Forkast Labs components

Forkastlabs

Install

npm install forkast-labs-components

Example

import React from "react";
import ReactDOM from "react-dom";
import { Index, ThemeProvider } from "forkast-labs-package";

const App = () => {
  return (
    <ThemeProvider
      colors={{
        background: "#171717",
        text: "#FFFFFF",
      }}
    >
      <Index symbol={indexName} />
    </ThemeProvider>
  );
};

ReactDOM.render(<App />, document.getElementById("root"));

Components

  • ThemeProvider
PropsTypeDescription
colors.headlinestringbrand color
colors.backgroundstringbasic background color for elements
colors.textstringtext color
  • Index
PropsTypeDescription
symbolfk500, fketh, fksolsymbol name
  • IndexDetailed
PropsTypeDescription
symbolfk500, fketh, fksolsymbol name

Sign Up for a Free Forkast Labs API Account

To use the React component, you need to sign up for the free Forkast Labs API service. This service delivers high-performance access to the Forkast Labs indexes with up to 250,000 API calls per month.

It couldn't be simpler: Go to our developer web site and create your Free developer account. Pass your URL prefix and API keys from your account to the component in your environment, and you're off and running.

Environment Variables

The following environment variables need to be set in order to use this package:

  • WEB_API_URL: the URL for the Forkast Labs API service.
  • API_KEY: the API key for the Forkast Labs API service.
  • WP_API_URL: the WordPress API url.
  • WP_INDEX_TAGS: Tags map between index and WordPress tag ids.

Create a Bug Report

If you see an error message or run into an issue, please create bug report.

Submit a Feature Request

If you have an idea, or you're missing a capability that would make development easier and more robust, please Submit feature request.

If a similar feature request already exists, don't forget to leave a "+1". If you add some more information such as your thoughts and vision about the feature, your comments will be embraced warmly :)

0.3.5

6 months ago

0.4.0

5 months ago

0.3.1-alpha

10 months ago

0.3.1-rc.5

9 months ago

0.3.1-rc.4

9 months ago

0.3.1-rc.3

10 months ago

0.3.1-rc.2

10 months ago

0.3.1-rc.1

10 months ago

0.3.2

9 months ago

0.3.1

9 months ago

0.3.4

9 months ago

0.3.1-beta.0

10 months ago

0.3.3

9 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.0

1 year ago