# Microcosm Preact

[Microcosm](https://github.com/vigetlabs/microcosm) bindings for [Preact](https://github.com/developit/preact).

![CircleCI branch](https://img.shields.io/circleci/project/github/vigetlabs/microcosm-preact/master.svg?style=flat-square)
[![npm](https://img.shields.io/npm/v/microcosm-preact.svg?style=flat-square)](https://www.npmjs.com/package/microcosm-preact)

## Requirements

As of 1.0 `microcosm-preact` requires version 12.9.0 of Microcosm or
higher.

## Usage

```javascript
import { Presenter, Form, withIntent } from 'microcosm-preact'

// or
import Presenter from 'microcosm-preact/presenter'
import Form from 'microcosm-preact/form'
import withIntent from 'microcosm-preact/with-intent'
```

## Documentation

The API for `microcosm-preact` is identical to the React add-ons that
ship with Microcosm. [Checkout the docs](http://code.viget.com/microcosm/api/#addons).
