1.0.7 â€Ē Published 3 years ago

@classklub/design-system v1.0.7

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

@classklub/design-system

📝 Description

This project is responsible for storing all classklub ReactJS components. Here you must write every single line of code in the holy language, I mean Typescript ðŸĪŠ.

DosDont's
✅ Build generic and reusable components❌ Forget about writting tests
✅ Always question about a component's behaviour❌ Forget about component documentation
✅ Follow the dos❌ Follow the dont's

⭐ Simplest use case

npm install @classklub/design-system
// There is two options for importing components
import { Navbar, Theme } from '@classklub/design-system'
import Button from '@classklub/design-system/Button'

// There is this styled-components dependency so our components can access our theme
import { ThemeProvider } from 'styled-components'

// Now you're ready to use it, have fun!
const myPage = () => {
  return (
    <ThemeProvider theme={Theme}>
      <>
        <Navbar />
        <Button title="click me" />
      </>
    </ThemeProvider>
  )
}
1.0.7

3 years ago

1.0.2

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago