refactor(joyent-ui-toolkit): remove Header redundant properties
This commit is contained in:
parent
f17fae6a74
commit
4ca5fc4f3b
@ -20,7 +20,7 @@ const Box = styled.div`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export default ({ children, ...rest }) => (
|
export default ({ children, ...rest }) => (
|
||||||
<Box xs={6} sm={6} md={6} start {...rest}>
|
<Box {...rest}>
|
||||||
<Brand>
|
<Brand>
|
||||||
{children}
|
{children}
|
||||||
</Brand>
|
</Brand>
|
||||||
|
@ -24,7 +24,7 @@ const Box = styled.div`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export default ({ children, ...rest }) => (
|
export default ({ children, ...rest }) => (
|
||||||
<Box xs={3} sm={2} md={2} end {...rest}>
|
<Box {...rest}>
|
||||||
<Text>
|
<Text>
|
||||||
{children}
|
{children}
|
||||||
</Text>
|
</Text>
|
||||||
|
Loading…
Reference in New Issue
Block a user