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

react-css-themr

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-css-themr - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

lib/components/themr.js

@@ -72,4 +72,6 @@ 'use strict';

value: function render() {
var composeTheme = this.props.composeTheme;
return _react2.default.createElement(ThemedComponent, _extends({}, this.props, {
theme: this.props.composeTheme ? this.getTheme() : this.getThemeNotComposed()
theme: composeTheme ? this.getTheme() : this.getThemeNotComposed()
}));

@@ -76,0 +78,0 @@ }

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/javivelasco/react-css-themr#readme",
"version": "1.1.0",
"version": "1.1.1",
"main": "./lib",

@@ -24,3 +24,3 @@ "author": {

"react",
"react-themr",
"react-css-themr",
"theming"

@@ -27,0 +27,0 @@ ],

@@ -44,3 +44,3 @@ [![npm version](https://img.shields.io/npm/v/react-css-themr.svg?style=flat-square)](https://www.npmjs.com/package/react-css-themr)

import React, { Component } from 'react';
import { themr } from 'react-themr';
import { themr } from 'react-css-themr';

@@ -84,3 +84,3 @@ @themr('MyThemedButton')

import React, { Component } from 'react';
import { themr } from 'react-themr';
import { themr } from 'react-css-themr';
import successTheme from './SuccessButton.css';

@@ -87,0 +87,0 @@

@@ -49,5 +49,6 @@ import React, { Component, PropTypes } from 'react'

render() {
const { composeTheme } = this.props
return React.createElement(ThemedComponent, {
...this.props,
theme: this.props.composeTheme
theme: composeTheme
? this.getTheme()

@@ -54,0 +55,0 @@ : this.getThemeNotComposed()

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