New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

classnames-components

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

classnames-components - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

6

lib/index.js

@@ -34,4 +34,8 @@ "use strict";

};
};
}; // How do we handle the passing down of props on a HTML element? Custom attributes are allowed?
// https://reactjs.org/docs/dom-elements.html#all-supported-html-attributes
// How do we wrap an existing classname-component?
// --- also make sure we can use `as` in this situation
var classnamesComponents = function classnamesComponents(element) {

@@ -38,0 +42,0 @@ return function () {

2

package.json
{
"name": "classnames-components",
"version": "0.1.2",
"version": "0.1.3",
"description": "A CSS class component wrapper to speed up styling React components",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -8,8 +8,16 @@ # classnames-components

This project is README-driven, this file is step 1. There will be a lot of edits before I start coding things.
This project is README-driven and WIP. The basic functionality works.
## Installation
_not on npm yet_
```bash
yarn add classnames-components
```
or
```bash
npm i classnames-components
```
## Basic usage

@@ -16,0 +24,0 @@

@@ -12,2 +12,8 @@ import React from 'react';

// How do we handle the passing down of props on a HTML element? Custom attributes are allowed?
// https://reactjs.org/docs/dom-elements.html#all-supported-html-attributes
// How do we wrap an existing classname-component?
// --- also make sure we can use `as` in this situation
const classnamesComponents = element => (...params) => props =>

@@ -14,0 +20,0 @@ React.createElement(element, {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc