Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Can't set className on TableCell #133

Open
bartaz opened this issue Jun 27, 2018 · 0 comments
Open

Can't set className on TableCell #133

bartaz opened this issue Jun 27, 2018 · 0 comments

Comments

@bartaz
Copy link

bartaz commented Jun 27, 2018

Even that TableCell seems to have className prop defined it's not set on rendered element in static table.

<Table>
	<TableRow tableHeading>
		<TableCell className="test">Test heading</TableCell>
    </TableRow>
	<TableRow>
		<TableCell className="test">Test data</TableCell>
    </TableRow>
</Table>

It makes it impossible to change width of table columns. TableCell doesn't accept the width attribute, and className that could possibly be used to add width via CSS does not work.

Expected

Adding className to TableCell should work as documented and there should be the way to change the widths of the columns.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant