Naming Prosecution Mitigator
Have ideas to improve npm?Join in the discussion! »

@sampoder/holocron

1.0.4 • Public • Published

🥽 holocron

Use your Jedi Challenges headset for anything!

NPM

Install

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

Usage

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

Keywords

none

Install

npm i @sampoder/holocron

DownloadsWeekly Downloads

6

Version

1.0.4

License

MIT

Unpacked Size

55.6 kB

Total Files

6

Last publish

Collaborators

  • avatar