Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

symbo-ls/css-in-props

Repository files navigation

css-in-props

This repository is merged into https://github.com/symbo-ls/smbls


npm version

Setup

  1. Installation
yarn add css-in-props
  1. Import the component from Symbols
import { setClassname } from 'css-in-props'
  1. Use it inside your DOMQL code
const Box = ({ children, ...props }) => <div className={setClassname(props)}>{children}</div>

About

CSS abstraction using props

Resources

Stars

Watchers

Forks

Packages

No packages published