gregnb / gregnb/mui-datatables

MUIDataTable does not have Checkbox in components for Typescript

Open
#1,656 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

I would like to use the Checkbox attribute in MUIDataTable components, to override custom checkbox to the radio button.
I use Typescript and the MUIDataTable components do not have Checkbox attribute.

![MuidatatableProps](https://user-images.githubusercontent.com/72535251/107189684-a9d63500-6a39-11eb-966f-0a1175976d08.png)
![checkBox not exist](https://user-images.githubusercontent.com/72535251/107189694-ae025280-6a39-11eb-994a-6ffe243dc8c6.png)

## Expected Behavior

## Current Behavior

## Steps to Reproduce (for bugs)

## Your Environment
| Tech | Version |
|--------------|---------|
| Material-UI | 4.11.2 |
| MUI-datatables | 3.7.0 | "@types/mui-datatables": "^3.7.0",
| React | 16.13.1 |
| browser | |
| etc | |

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the @types/mui-datatables declarations for MUIDataTable and its component props, using the reported Checkbox usage as the reference. Confirm the type definition accepts Checkbox for the custom radio-button override and verify that the TypeScript error no longer occurs in the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.