trotl-table 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,9 +10,11 @@ A simple, flexible **Table UI** for React — with rows drag‑and‑drop, conte
10
10
 
11
11
  ```bash
12
12
  npm install trotl-table
13
+ # or
14
+ yarn add trotl-table
13
15
 
14
16
 
15
- Usage
17
+ Quick Start
16
18
 
17
19
  import React, { useState } from "react";
18
20
  import { Table } from "trotl-table";
@@ -99,7 +101,7 @@ export default function Demo() {
99
101
  🌟 Context Hooks
100
102
  Use useTable to access global state:
101
103
 
102
- import { useTable } from "trotltable";
104
+ import { useTable } from "trotl-table";
103
105
 
104
106
  function Toolbar({ tableId }) {
105
107
  const { selectedRows, clearSelection } = useTable();