# @scripty/react-examples

> # Description

Latest version **0.1.5** (published 2020-10-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @scripty/react-examples
pnpm add @scripty/react-examples
yarn add @scripty/react-examples
bun add @scripty/react-examples
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2020-10-21 |
| First published | 2020-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 13.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Danijel Garic |
| Maintainers | garic |
| Keywords | react-examples |

## Links

- npm: https://www.npmjs.com/package/@scripty/react-examples
- Repository: https://github.com/scripty08/react-examples
- Homepage: https://garic.biz
- Issues: https://github.com/scripty08/react-examples/issues
- npm.io page: https://npm.io/package/@scripty/react-examples

## Dependencies (5)

- [react](https://npm.io/package/react.md) 16.11.0
- [react-dom](https://npm.io/package/react-dom.md) 16.11.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [styled-components](https://npm.io/package/styled-components.md) ^5.1.1
- [react-syntax-highlighter](https://npm.io/package/react-syntax-highlighter.md) ^15.2.1

## Recent versions

- 0.1.5 (latest) — 2020-10-21
- 0.1.4 — 2020-10-18
- 0.1.3 — 2020-10-18
- 0.1.2 — 2020-10-18
- 0.1.1 — 2020-10-18
- 0.1.0 — 2020-10-18
- 0.1.7 — 2020-10-18

## README

# @scripty/react-examples

# Description

react-examples component.

# Usage
```bash
npm install -s @scripty/react-examples
```

##### Client: Example.jsx

```javascript
import React, { Fragment } from 'react';
import { Examples } from '@scripty/react-examples';

import { Description, Code } from '@scripty/react-examples';

export const MyComponent = () => {

     const propertiesData = [
        {
            property: 'title',
            description: 'Title of your example component',
            type: 'string',
            default: 'none'
        }
    ]

    return (
        <Description title={'Simple Description Component'}>
            <Component>
                Your Component goes here
            </Component>

            <Code>
                {code}
            </Code>

            <Properties data={propertiesData}/>
        </Description>
    );
}
```

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