React-table: Material Theme

Created on 20 Nov 2017  路  1Comment  路  Source: tannerlinsley/react-table

What version of React-Table are you using?

Last version

What bug are you experiencing, or what feature are you proposing?

Isn't an error, is only that I want to get the table with a material style, so we need use a material table that allow us resize columns, so we have tried to use react-md (datatable) and add resize styles but really is very ugly. Exist some material theme for reacttable?

Thanks

Most helpful comment

react-table is not theme-based so there is no simple way to create a theme for a particular CSS approach. You have the following options to style react-table:

  • style, headerStyle, footerStyle on columns
  • getProps and getHeaderProps on columns
  • a function override (get...Props) for pretty much every component
  • completely replacing the sample CSS provided with the package (or selectively for various pieces)

>All comments

react-table is not theme-based so there is no simple way to create a theme for a particular CSS approach. You have the following options to style react-table:

  • style, headerStyle, footerStyle on columns
  • getProps and getHeaderProps on columns
  • a function override (get...Props) for pretty much every component
  • completely replacing the sample CSS provided with the package (or selectively for various pieces)
Was this page helpful?
0 / 5 - 0 ratings

Related issues

monarajhans picture monarajhans  路  3Comments

bdkersey picture bdkersey  路  3Comments

danielmariz picture danielmariz  路  3Comments

dilipsundarraj1 picture dilipsundarraj1  路  3Comments

alexanderwhatley picture alexanderwhatley  路  3Comments