Skip to content

Commit

Permalink
Update usage docs
Browse files Browse the repository at this point in the history
Signed-off-by: isamrish <[email protected]>
  • Loading branch information
isamrish committed Jan 26, 2020
1 parent 5646303 commit 0db8fe6
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,30 +39,10 @@ class Example extends React.Component {
render() {
return (
<FlexBanner
title="title of the banner" // string
link={{
title: "example",
url: "https://example.com"
}}
delayTimeToShowBanner={1}
slidingTime={1}
center={true}
timeForCookie={false}
isCross={true}
wrapperStyle={{
backgroundColor: "blue",
paddingLeft: "24px",
paddingRight: "24px",
textAlign: "center"
}}
mainStyle={{
color: "white",
textAlign: "center",
margin: "10px"
}}
crossStyle={{
fontSize: "16px"
}}
title="Fully responsive react banner for websites"
ctaLink="https://github.com/IsAmrish/flex-banner"
ctaTitle="Learn More"
isCenter={true}
/>
);
}
Expand Down

0 comments on commit 0db8fe6

Please sign in to comment.