A tiny React component library
Alys is a tiny React component library based on Stefan Balan's Starter Kit version 1.4.
Before you can use this library, your project should include the following packages. For version details, please see the package manifest file at the repository's root. Make sure you select the version compatible with the required minimum version.
npm install --save @emotion/core emotion-theming prop-types react react-dom
You can use either npm
or Yarn as your package manager.
npm install alys
yarn add alys
The following example shows a component called MyComponent
that uses a Button
component from
the alys
package:
/** @jsx jsx */
import { css, jsx } from '@emotion/core';
import { Button } from 'alys';
export default function MyComponent() {
return (
<Button
css={css`
display: inline-block;
`}
>
Default button
</Button>
);
}
Copyright 2020 Rodger Jordas
This project is licensed under the terms of the Apache License, Version 2.0.