# pancake-components

> pancakes for your react application

Latest version **1.0.1** (published 2020-10-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install pancake-components
pnpm add pancake-components
yarn add pancake-components
bun add pancake-components
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-10-20 |
| First published | 2020-10-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 23.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jake Loew |
| Maintainers | jakelo123 |

## Links

- npm: https://www.npmjs.com/package/pancake-components
- npm.io page: https://npm.io/package/pancake-components

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^16.14.0
- [react-dom](https://npm.io/package/react-dom.md) ^16.14.0
- [@emotion/core](https://npm.io/package/@emotion/core.md) ^10.0.35

## Recent versions

- 1.0.1 (latest) — 2020-10-20
- 1.0.0 — 2020-10-20

## README

# pancake-components

A library of pancake-themed React components.

#### getting started

`npm install pancake-components`

#### usage

Import pancake components and use them in your react application.

```
import React, { Fragment } from 'react';
import { PancakeButton, PancakeHeader } from 'pancake-components/lib';

function MyComponent() {
  return (
    <Fragment>
      <PancakeHeader>
        This header will render some pancakes
      </PancakeHeader>
      <PancakeButton>
        This button has pancakes too
      </PancakeButton>
    </Fragment>
  )
}
```

##### PancakeHeader

This component renders a `<header>` with pancakes. It accepts an optional `textAlign` prop, which should be set to the desired [CSS text-align value](https://www.w3schools.com/cssref/pr_text_text-align.ASP)

Ex:

```
  <PancakeHeader textAlign="center">
    This text will be centered
  </PancakeHeader>
```

##### PancakeButton

This component renders a `<button>` with pancakes. It accepts an optional `variant` prop, which can be set to "light" or "dark".

---
_Source: https://npm.io/package/pancake-components · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
