@hig/banner
Advanced tools
Comparing version 0.2.0-alpha.5257fef7 to 0.2.0-alpha.69c48d2a
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45081
32
951
+ Addedhig-interface@0.2.0-alpha.69c48d2a(transitive)
+ Addedhig-react@0.29.0-alpha.69c48d2a(transitive)
+ Addedhig-vanilla@0.2.0-alpha.69c48d2a(transitive)
- Removedhig-interface@0.2.0-alpha.5257fef7(transitive)
- Removedhig-react@0.29.0-alpha.5257fef7(transitive)
- Removedhig-vanilla@0.2.0-alpha.5257fef7(transitive)