Skip to content

Commit

Permalink
[docs] List default attributes first (#19693)
Browse files Browse the repository at this point in the history
  • Loading branch information
amcasey authored Feb 14, 2020
1 parent 6ab24fd commit 101df97
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions docs/src/pages/system/borders/BorderSubtractive.js
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>
);
}
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 101df97

Please sign in to comment.