0.0.1 • Published 2 years ago

thin-backend-components v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Crud Component

The CRUD component is a table based view for quickly displaying, editing, creating and deleting database records

Usage

function App() {
    return <IHPBackend requireLogin>
        <div className="container">
            
            <!-- Mount the Crud component and pass a query -->
            <Crud query={query('tasks')} />
        </div>
    </IHPBackend>
}

The rendered table will look like this:

npm.io