@react-foundry/components
v0.1.7
Published
React components to support the React Foundry system.
Downloads
676
Readme
React Foundry - Components
All of the React Foundry React components, in a single package.
Using this package
First install the package into your project:
npm install -S @react-foundry/componentsThen use it in your code as follows:
import React, { createElement as h } from 'react';
import { AnchorList } from '@react-foundry/components';
export const MyComponent = props => (
<AnchorList
items={[
{ href: '/foo', text: 'Foo' },
{ href: '/bar', text: 'Bar' },
{ href: '/baz', text: 'Baz' }
]}
/>
);
export default MyComponent;Working on this package
Before working on this package you must install its dependencies using the following command:
pnpm installTesting
npm testBuilding
npm run buildClean-up
npm run clean