Skip to content

Commit

Permalink
deprecate utility components
Browse files Browse the repository at this point in the history
  • Loading branch information
VanAnderson committed Jun 28, 2021
1 parent 3a04406 commit 5d76285
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Timeline.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import classnames from 'classnames'
import React from 'react'
import styled, {css} from 'styled-components'
import Box from './Box'
import Box, {BoxProps} from './Box'
import {COMMON, get} from './constants'
import Box, {BoxProps} from './Flex'
import {Relative} from './Position'
import sx from './sx'
import {ComponentProps} from './utils/types'

Expand Down Expand Up @@ -109,7 +107,8 @@ const TimelineBody = styled(Box)`
${sx};
`

const TimelineBreak = styled(Relative)`
const TimelineBreak = styled(Box)`
position: relative
z-index: 1;
height: 24px;
margin: 0;
Expand Down

0 comments on commit 5d76285

Please sign in to comment.