1.0.19 • Published 6 days ago
@oraichain/oraidex-common-ui v1.0.19
Oraidex Common UI
Installation
You can install this demo UI library using yarn:
yarn add @oraichain/oraidex-common-ui
Usage
To use this UI library in your project, import the components you need from the library and use them in your React components.
import React from "react";
import { TVCharContainer } from "@oraichain/oraidex-common-ui";
function App() {
return (
<div>
<TVChartContainer
theme="light"
currentPair={{
symbol: 'ORAI/USDT',
info: 'orai-orai12hzjxfh77wl572gdzct2fxv2arxcwh6gykc7qh'
}}
pairsChart={[
{
symbol: 'ORAI/USDT',
info: 'orai-orai12hzjxfh77wl572gdzct2fxv2arxcwh6gykc7qh'
}
]}
/>
</div>
);
}
export default App;
Steps
- Fork the repository.
- Clone the repository to your local machine.
- Install the dependencies using
yarn
. - View the components in the browser using
yarn storybook
. - Make your changes.
- Build the library using
yarn build
. - Commit the changes and push them to your forked repository.
- Publish the package on npm.
- Install and use the package in your project.
1.0.19
6 days ago
1.0.18
7 days ago
1.0.17
7 days ago
1.0.16
7 days ago
1.0.15
7 days ago
1.0.14
23 days ago
1.0.13
1 month ago
1.0.12
1 month ago
1.0.11
2 months ago
1.0.10
3 months ago
1.0.9
3 months ago
1.0.8
3 months ago
1.0.7
3 months ago
1.0.6
3 months ago
1.0.5
3 months ago
1.0.4
4 months ago
1.0.3
5 months ago
1.0.2
5 months ago
1.0.1
6 months ago
1.0.0
6 months ago