Skip to content

Commit

Permalink
[docs] List default attributes first
Browse files Browse the repository at this point in the history
The last copy of each attribute wins, so the defaults should go before
the explicit values, rather than after.
  • Loading branch information
amcasey committed Feb 13, 2020
1 parent 01b8b09 commit 0aa2be6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/pages/system/borders/BorderSubtractive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ const defaultProps = {
export default function BorderSubtractive() {
return (
<Box display="flex" justifyContent="center">
<Box border={0} {...defaultProps} />
<Box borderTop={0} {...defaultProps} />
<Box borderRight={0} {...defaultProps} />
<Box borderBottom={0} {...defaultProps} />
<Box borderLeft={0} {...defaultProps} />
<Box {...defaultProps} border={0} />
<Box {...defaultProps} borderTop={0} />
<Box {...defaultProps} borderRight={0} />
<Box {...defaultProps} borderBottom={0} />
<Box {...defaultProps} borderLeft={0} />
</Box>
);
}

0 comments on commit 0aa2be6

Please sign in to comment.