@w2wds/reactdeprecated

React specific wrapper for the components of the Way2Web Design System

Usage no npm install needed!

<script type="module">
  import w2wdsReact from 'https://cdn.skypack.dev/@w2wds/react';
</script>

README

Built With Stencil

@w2wds/react

These are React specific building blocks on top of @w2wds/core components.

Using these components

Add this package to your project:

npm install @w2wds/react --save

Or:

yarn add @w2wds/react

Import the Core CSS required for Way2Web Design System components to work properly:

import "@w2wds/core/dist/core/core.css";

Import the component(s) you want to use:

import { WayButton } from "@w2wds/react";

Use it in your JSX as any React component:

<WayButton href="https://www.way2web.nl">Way2Web</WayButton>

CodeSandbox example

An example of this setup: https://codesandbox.io/s/w2wds-react-example-i3w25

How to release a new version

  • Build the core package
  • Run build on this package
  • Publish