1.0.7 â€Ē Published 2 years ago

@classklub/design-system v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
2 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

2 years ago

1.0.2

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago