1.0.3 • Published 5 months ago

@richardsimonb/flash-card v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Flash Card Component

Flash card component. This component requires React.

Installation

npm install @richardsimonb/flash-card

Usage

import { FlashCard } from '@richardsimonb/flash-card'

function App() {

  const data = [
    {
      question: 'What is the capital of Ethiopia?',
      answer: 'Addis Ababa',
    },
    {
      question: 'What is the ASEAN short of?',
      answer: 'Association of South East Asian Nations',
    },
    {
      question: 'What is the currency of Indonesia?',
      answer: 'Rupiah',
    },
  ]

  return (
    <FlashCard title={'Flash Cards'} data={data}/>
  )
}

License

MIT License

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago

0.1.1

6 months ago

0.1.0

6 months ago