rn-sqlite-viewer

0.0.35 • Public • Published

rn-sqlite-viewer

A Lite SQLITE Viewer for react-native

rest

Dependencies

  • expo-sqlite

Setup

pnpm add rn-sqlite-viewer

Usage

// your db instance
const db = SQLite.openDatabase('your-project-name', '1.0.0')
import db from '../lib/db'
// ...

return (
  <SQLiteViewer
    db={db} // sqlite db instance
    colors={{
      tables: {
        backgroundColor: styles.colors.gray700,
        selectedTableButton: {
          text: {
            backgroundColor: styles.colors.gray300
          }
        }
      },
      details: {
        backgroundColor: styles.colors.gray600
      }
    }}
  />
)

Readme

Keywords

none

Package Sidebar

Install

npm i rn-sqlite-viewer

Weekly Downloads

0

Version

0.0.35

License

ISC

Unpacked Size

15.3 kB

Total Files

11

Last publish

Collaborators

  • marcosrjjunior