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

@hig/banner

Package Overview
Dependencies
Maintainers
5
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/banner - npm Package Compare versions

Comparing version 0.2.0-alpha.5257fef7 to 0.2.0-alpha.69c48d2a

.babelrc

8

package.json
{
"name": "@hig/banner",
"version": "0.2.0-alpha.5257fef7",
"version": "0.2.0-alpha.69c48d2a",
"description": "HIG Banner",

@@ -11,4 +11,4 @@ "author": "Autodesk Inc.",

"devDependencies": {
"@hig/scripts": "0.2.0-alpha.5257fef7",
"@hig/styles": "0.1.0-alpha.5257fef7"
"@hig/scripts": "0.2.0-alpha.69c48d2a",
"@hig/styles": "0.1.0-alpha.69c48d2a"
},

@@ -23,4 +23,4 @@ "peerDependencies": {

"dependencies": {
"hig-react": "0.29.0-alpha.5257fef7"
"hig-react": "0.29.0-alpha.69c48d2a"
}
}

@@ -64,2 +64,16 @@ import React from "react";

function BannerDemo(props) {
const { children, ...otherProps } = getBannerKnobs(props);
return (
<div style={{ marginBottom: "15px" }}>
<Banner {...otherProps}>{children}</Banner>
</div>
);
}
function BannerStory({ props }) {
return <BannerDemo {...props} />;
}
const stories = [

@@ -105,4 +119,3 @@ {

stories.forEach(({ description, props }) => {
const { children, ...otherProps } = getBannerKnobs(props);
bannerStories.add(description, () => <Banner {...otherProps}>{children}</Banner>);
bannerStories.add(description, () => <BannerStory props={props} />);
});

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