Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix(containers): rename LinkItemComponent -> LinkItem
Browse files Browse the repository at this point in the history
fix(containers): rename LinkItemComponent -> LinkItem
  • Loading branch information
Metnew committed Dec 5, 2017
1 parent 7bc8676 commit 2b33eac
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
import React from 'react'
import {List} from 'semantic-ui-react'

import type {LinkItem} from 'types'
import type {LinkItem as LinkItemType} from 'types'
type Props = {
item: LinkItem
item: LinkItemType
}

const LinkItemComponent = ({item}: Props) => {
const LinkItem = ({item}: Props) => {
const {header, icon, desc, link} = item
return (
<List.Item>
Expand All @@ -20,4 +20,4 @@ const LinkItemComponent = ({item}: Props) => {
)
}

export default LinkItemComponent
export default LinkItem

0 comments on commit 2b33eac

Please sign in to comment.