0.3.1 • Published 4 years ago

@wunderdog/w2-components v0.3.1

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

w2-components

w2-components is a collection of React components extracted from the w2 project.

Installation

To install the package, run

npm install @wunderdog/w2-components

Examples

import React from "react";
import { Footer } from "@wunderdog/w2-components";

const MyComponent = () => (
  <Footer
    heading="Future-proof design & development"
    nav={[
      <a href="/">Work</a>,
      <a href="/">About</a>,
      <a href="/">Careers</a>,
      <a href="/">Blog</a>,
      <a href="/">Contact</a>,
    ]}
    copyright={`© ${new Date().getFullYear()} Wunderdog. WUNDERDOG is a registered trademark of Wunderdog Oy
    in the European Union.`}
    legal={[<a href="/">Cookies Policy</a>, <a href="/">Privacy Policy</a>]}
  />
);

export default MyComponent;
0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago