# i18n-calypso-mixin

> React Mixin for i18n-calypso

Latest version **0.0.9** (published 2016-05-19) · GPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install i18n-calypso-mixin
pnpm add i18n-calypso-mixin
yarn add i18n-calypso-mixin
bun add i18n-calypso-mixin
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.9 |
| Published | 2016-05-19 |
| First published | 2016-05-19 |
| Weekly downloads | 0 |
| License | GPL-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | @automattic |
| Maintainers | tug |

## Links

- npm: https://www.npmjs.com/package/i18n-calypso-mixin
- Repository: https://github.com/Automattic/i18n-calypso-mixin
- Homepage: https://github.com/Automattic/i18n-calypso-mixin#readme
- Issues: https://github.com/Automattic/i18n-calypso-mixin/issues
- npm.io page: https://npm.io/package/i18n-calypso-mixin

## Dependencies (2)

- [debug](https://npm.io/package/debug.md) 2.2.0
- [i18n-calypso](https://npm.io/package/i18n-calypso.md) 0.0.9

## Recent versions

- 0.0.9 (latest) — 2016-05-19
- 0.0.8 — 2016-05-19

## README

React Mixin for i18n-calypso
============================

### Usage

```js
import i18nMixin from 'i18n-calypso-mixin';

const MyComponent = React.createClass( {
    mixins: [ i18nMixin ],
    render: function() {
        return (
            <p>{ this.translate( 'Hello World' ) }</p>
        );
    }
} );
```

Or inject it in all your components using:

```js
	ReactInjection.Class.injectMixin( i18nMixin );
```


For more information on how to configure i18n for your project using `i18n-calypso`,
please refer to i18n-calypso's [README](https://github.com/Automattic/i18n-calypso/blob/master/README.md).

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