flashcardui
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

flashcardui

UI library for flash card application

Install

npm i flashcardui

Description

UI library for flash card application

Demo

https://62bb813bf21a12b6aaf73dd7-jowfnahaiw.chromatic.com/

Usage

import React, { Component } from 'react';

import { Button } from 'flashcardui';

class Example extends Component {
  render() {
    return (
      <Button
        color="#ff7043"
        label="flashUI"
        hover="#bf360c"
        buttonType="contained"
      />
    );
  }
}

Github

https://github.com/GodsonAddy/flashcardui

Error

If you get this error below when you run npm start after installing this package,

  • run "npm i -D styled-components" in your terminal and then "npm start" OR
  • delete package-lock.json and node_modules, after that run "npm install"

Module not found: Error: Can't resolve 'styled-components' in 'C:\Users\your-name\name-of-your-app\node_modules\flashcardui\dist' ERROR in ./node_modules/flashcardui/dist/flashcardui.esm.js 2:0-54 Module not found: Error: Can't resolve 'styled-components' in 'C:\Users\your-name\name-of-your-app\node_modules\flashcardui\dist'

License

MIT © GodsonAddy

Readme

Keywords

Package Sidebar

Install

npm i flashcardui

Weekly Downloads

2

Version

1.1.3

License

MIT

Unpacked Size

77.7 kB

Total Files

33

Last publish

Collaborators

  • godsonaddy