Skip to content

Commit

Permalink
docs(component): Add JSDoc for Table
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-nfc committed Sep 28, 2024
1 parent 164099a commit 3e96df9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/Table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ import FieldData from "../functions/FieldData";
import TextField from "./form/Textfield";



/**
* Create a Table with pagination
*
* @param {{String, Function}} param0 Object for table
* @param data_url_path url where the data will be fetched
* @param callback function that will be passed value `data.name`
* @returns
*/
const Table = ({
data_url_path,
callback = null
Expand Down

0 comments on commit 3e96df9

Please sign in to comment.