Simple React Foundry components.
npm install @react-foundry/simple-componentsReact Foundry - Simple components
=================================
Just the simple React Foundry [React] components, that will work with Next.js.
(Eventually we hope to deprecate this package in favour of just using the main@catlyse/components package.)
Using this package
------------------
First install the package into your project:
``shell`
npm install -S @react-foundry/simple-components
Then use it in your code as follows:
`js
import React, { createElement as h } from 'react';
import { AnchorList } from '@react-foundry/simple-components';
export const MyComponent = props => (
{ 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:
`shell`
pnpm install
`shell`
npm test
`shell`
npm run build
`shell``
npm run clean
[React]: https://reactjs.org/