Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
fix: Add border props to Flex component
Browse files Browse the repository at this point in the history
  • Loading branch information
diondiondion committed Jul 17, 2019
1 parent 56fa273 commit f196911
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Flex/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import styled from 'styled-components';
import PropTypes from 'prop-types';

import {marginProps, paddingProps} from '../styleProps';
import {borderProps, marginProps, paddingProps} from '../styleProps';
import {alignMap} from '../styleProps/flexProps';

import Box from '../Box';
Expand All @@ -28,6 +28,7 @@ const Flex = styled.div`
${marginProps}
${paddingProps}
${borderProps}
`;

Flex.defaultProps = {
Expand Down

0 comments on commit f196911

Please sign in to comment.