Skip to content

Commit

Permalink
Revisions to SubNav TS migration
Browse files Browse the repository at this point in the history
Co-authored-by: Cole Bemis <colebemis@github.com>
  • Loading branch information
VanAnderson and colebemis committed Feb 11, 2021
1 parent bde597e commit 6b69a1c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/SubNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,7 @@ import React from 'react'
import PropTypes from 'prop-types'
import classnames from 'classnames'
import styled from 'styled-components'
import {
COMMON,
FLEX,
get,
SystemFlexProps,
SystemCommonProps,
SystemTypographyProps,
SystemBorderProps
} from './constants'
import {COMMON, FLEX, get, SystemFlexProps, SystemCommonProps, SystemBorderProps} from './constants'
import {ComponentProps} from './utils/types'
import theme from './theme'
import Flex, {FlexProps} from './Flex'
Expand Down Expand Up @@ -70,7 +62,6 @@ type StyledSubNavLinkProps = {
selected?: boolean
} & SystemCommonProps &
SxProp &
SystemTypographyProps &
SystemBorderProps

const SubNavLink = styled.a.attrs<StyledSubNavLinkProps>(props => ({
Expand Down

0 comments on commit 6b69a1c

Please sign in to comment.