1.0.0 • Published 2 years ago

react-daniel-ui v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Install

For npm users:

  $ npm install react-daniel-ui styled-components

For Yarn users:

  $ yarn add react-daniel-ui styled-components

Links

Documentation click here

Github Repository

Demo Repository

Example

import React from "react";
import { Button } from "react-daniel-ui";

const App = () => (
  <div>
    <Button>Click Here</Button>
  </div>
);

export default App;

Theme Support

We have two default themes "sea" and "mountain" but you can use your custom theme through a javascript object

import React from "react";
import { ThemeProvider } from "styled-components";
import { Button } from "react-daniel-ui";
import { mountain } from "react-daniel-ui";

const App = () => (
  <div>
    <ThemeProvider theme={mountain}>
      <Button>Click Here</Button>
    </ThemeProvider>
  </div>
);

export default App;

Explore with storybook

You can clone the repository and use the storybook to see examples of each component, modify the repository, and bring in new ideas.

  $ npm run storybook

or

  $ yarn storybook
1.0.0

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago