Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Table: add bottom border to each row (apart from last item) (#1200)
Request from design - add a bottom border to each row in a Table ### Before ![Screen Shot 2020-09-09 at 9 15 11 AM](https://user-images.githubusercontent.com/127199/92626752-34461d00-f27f-11ea-896c-da78c0da3122.png) ### After ![Screen Shot 2020-09-09 at 9 18 23 AM](https://user-images.githubusercontent.com/127199/92626759-36a87700-f27f-11ea-8317-1647fcad37fa.png) ## Test Plan - Test in `<Table />` docs
- Loading branch information
1 parent
15147b8
commit 2397ea4
Showing
5 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
// @flow strict | ||
import React, { type Node } from 'react'; | ||
import styles from './Table.css'; | ||
|
||
type Props = {| | ||
children: Node, | ||
|}; | ||
|
||
export default function TableBody(props: Props): Node { | ||
return <tbody>{props.children}</tbody>; | ||
return <tbody className={styles.tbody}>{props.children}</tbody>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters