UI library for flash card application
npm i flashcardui
UI library for flash card application
https://62bb813bf21a12b6aaf73dd7-jowfnahaiw.chromatic.com/
import React, { Component } from 'react';
import { Button } from 'flashcardui';
class Example extends Component {
render() {
return (
<Button
color="#ff7043"
label="flashUI"
hover="#bf360c"
buttonType="contained"
/>
);
}
}
https://github.com/GodsonAddy/flashcardui
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'
MIT © GodsonAddy