# @sampoder/holocron

> A React component for displaying content on a Jedi Challenges headset

Latest version **1.0.4** (published 2020-12-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @sampoder/holocron
pnpm add @sampoder/holocron
yarn add @sampoder/holocron
bun add @sampoder/holocron
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2020-12-27 |
| First published | 2020-12-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 6 |
| Unpacked size | 54.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | sampoder |
| Maintainers | sampoder |

## Links

- npm: https://www.npmjs.com/package/@sampoder/holocron
- Repository: https://github.com/sampoder/holocron
- Homepage: https://github.com/sampoder/holocron#readme
- Issues: https://github.com/sampoder/holocron/issues
- npm.io page: https://npm.io/package/@sampoder/holocron

## Dependencies (6)

- [framer-motion](https://npm.io/package/framer-motion.md) ^3.1.1
- [@emotion/react](https://npm.io/package/@emotion/react.md) ^11.1.4
- [@emotion/styled](https://npm.io/package/@emotion/styled.md) ^11.0.0
- [@chakra-ui/icons](https://npm.io/package/@chakra-ui/icons.md) ^1.0.2
- [@chakra-ui/react](https://npm.io/package/@chakra-ui/react.md) ^1.0.4
- [react-full-screen](https://npm.io/package/react-full-screen.md) ^0.3.2-0

## Recent versions

- 1.0.4 (latest) — 2020-12-27
- 1.0.3 — 2020-12-27
- 1.0.2 — 2020-12-26
- 1.0.1 — 2020-12-26
- 1.0.0 — 2020-12-26

## README

# 🥽 holocron
Use your Jedi Challenges headset for anything!


[![NPM](https://img.shields.io/npm/v/@sampoder/holocron.svg)](https://www.npmjs.com/package/@sampoder/holocron) 

## Install

```bash
npm install --save @sampoder/holocron 
yarn add @sampoder/holocron 
```

## Usage

```jsx
import Holocron from '@sampoder/holocron'

function Title(){
  return <h1 style={{ color: 'white' }}>The Hello World!</h1>
}

function LaunchButton(){
  return <button style={{ color: 'white' }}>Play</button>
}

function FullscreenButton(){
  return <button style={{ color: 'white' }}>Fullscreen</button>
}

function App() {
  return (
    <div className='App'>
      <Holocron
        title={<Title />}
        backgroundColor='#8492a6'
        launch={<LaunchButton />}
        fullscreen={<FullscreenButton />}
      >
        <p style={{ color: 'white', paddingTop: '30px' }}>Hello World</p>
      </Holocron>
    </div>
  )
}

export default App
```

## License

MIT © [sampoder](https://github.com/sampoder)

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