# Mr Generic Button

A customizable button component for React applications.

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Props](#props)


## Installation

Install the package via npm:

```bash
npm install --save-dev mr-generic-table

```

## Usage


```js
import Button from 'mr-generic-table';

  const columns = [
  { title: 'Name', dataIndex: 'name', key: 'name' },
  { title: 'Age', dataIndex: 'age', key: 'age' },
  { title: 'Address', dataIndex: 'address', key: 'address' },
];

const data = [
  { key: '1', name: 'John Brown', age: 32, address: 'New York No. 1 Lake Park' },
  { key: '2', name: 'Jim Green', age: 42, address: 'London No. 1 Lake Park' },
  { key: '3', name: 'Joe Black', age: 32, address: 'Sidney No. 1 Lake Park' },
];
  const myFunction = () => {
    eturn (
    <Table
      tableItemName = "Records"
      columns = {columns}
      dataSource = {data}
      totalContent={data?.length}
      />
  );
  }

```
