New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

classnamed

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

classnamed

Create components with classnames

unpublished
latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

classnamed

A slim and simple utility to make components with just classnames.

Installation

yarn add classnamed

or

npm install --save classnamed

Usage

import classnamed from 'classnamed'

const Box = classnamed.div`p-5 bg-white rounded shadow mb-2`
const DarkerBox = classnamed(Box)`bg-gray-800 text-white`

export function MyApp(){
  return (<div>
      <Box />
      <DarkerBox />
    </div>)
}

Keywords

react

FAQs

Package last updated on 08 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts