creativetimofficial / ct-material-dashboard-pro-react

React version of Material Dashboard Pro
134 stars 25 forks source link

React table style issue #107

Closed lawanyaselvamani closed 5 years ago

lawanyaselvamani commented 5 years ago

Hi guys, I am having a style issue in React-table with creativetim., "react-table": "^6.8.6"

Expected Behavior

provided

Current Behavior

actual

Here from the current and expected behavior, we can identify the difference in 2 styles of the grid. So please redirect me through a correct path.

Steps to Reproduce

1.npm install react-table

  1. use directly with import react-table from 'react-table' and import 'react-table/react-table.css'
  2. After that, I am facing style mismatch between the grid UI shown in https://demos.creative-tim.com/material-dashboard-pro-react/#/tables/react-tables and my local (screenshot added)

Context

I am developing an admin panel using react technology and facing the style mismatch.

einazare commented 5 years ago

Hello there @lawanyaselvamani ,

Thank you for your interest in working with our products. Have you read our live docs? On our live docs, we actually tell where you can get the styles for each component. https://demos.creative-tim.com/material-dashboard-pro-react/#/documentation/react-table

As you will see in our live docs, we use a different style, other than the one from the react-table. The react table is a react plugin which was not done by use, so the styles that it's coming with, are not done by use, therefore they are different. Not sure if you understand this.

Best, Manu