1.0.4 • Published 2 years ago
@lunadesk/houston v1.0.4
houston
Add a command toolbar to your React Project!
Install
npm i houston
Full Documentation is coming soon.
Usage
import React, { Component } from 'react'
import { Houston } from 'houston'
const App = () => {
const houstonActions = [
{
id: 'schedule',
title: 'Schedule',
subtitle: 'Go to schedule page',
action: openSchedule,
keywords: 'schedule times',
type: 'page'
},
]
function openSchedule() {
console.log("Open Schedule");
}
return <Houston title='Mission Control v0.1' actions={houstonActions} />
}
License
MIT © joshcawthorne