Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@the-control-group/ui

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@the-control-group/ui - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

lib/elements/Flex/Flex.js

2

lib/index.js
export { default as Grid } from './elements/Grid/Grid';
export { default as FlexRow } from './elements/FlexRow/FlexRow';
export { default as Flex } from './elements/Flex/Flex';
export { default as Div } from './elements/Div/Div';

@@ -3,0 +5,0 @@ export { default as Button } from './elements/Button/Button';

@@ -17,1 +17,8 @@ /**

};
// Custom PropType to accept number strings and numbers for a number field
export const numberLikeProp = (props, propName, componentName) => {
if(props[propName] && Number.isNaN(Number(props[propName]))) {
return new Error(`Invalid prop \`${propName}\` supplied to \`${componentName}\`. Must be a number or number string.`);
}
};

2

package.json
{
"name": "@the-control-group/ui",
"version": "1.0.0",
"version": "1.1.0",
"description": "UI kit based on ReactJS for TCG projects",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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