Skip to content

Commit

Permalink
Move title component
Browse files Browse the repository at this point in the history
  • Loading branch information
eamahanna committed May 1, 2020
1 parent 78f9953 commit ff7137a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/header/Header/Header.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react'
import { Header } from './Header'

import { Title } from '../../Title/Title'
import { Title } from '../Title/Title'
import { PrimaryNav } from '../PrimaryNav/PrimaryNav'
import { SearchInput } from '../../SearchInput/SearchInput'
import { DropDownLink } from '../DropDownMenu/DropDownMenu'
Expand Down Expand Up @@ -86,7 +86,7 @@ export const BasicHeader = (): React.ReactElement => {
<Header>
<div className="usa-nav-container">
<div className="usa-navbar">
<Title title="Project Title" link="#testlink"></Title>
<Title>Project Title</Title>
<NavButton onClick={onClick} className="usa-menu-btn">
Menu
</NavButton>
Expand All @@ -112,7 +112,7 @@ export const BasicHeaderWithMegaMenu = (): React.ReactElement => {
<Header>
<div className="usa-nav-container">
<div className="usa-navbar">
<Title title="Project Title" link="#testlink"></Title>
<Title>Project Title</Title>
<NavButton onClick={onClick} className="usa-menu-btn">
Menu
</NavButton>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react'
import { ExtendedHeader } from './ExtendedHeader'

import { Title } from '../../../Title/Title'
import { Title } from '../../Title/Title'
import { ExtendedNav } from '../ExtendedNav/ExtendedNav'
import { SearchInput } from '../../../SearchInput/SearchInput'
import { DropDownLink } from '../../DropDownMenu/DropDownMenu'
Expand Down Expand Up @@ -85,7 +85,7 @@ export const basicExtendedHeader = (): React.ReactElement => {
<div className={`usa-overlay ${expanded ? 'is-visible' : ''}`}></div>
<ExtendedHeader>
<div className="usa-navbar">
<Title title="Project Title" link="#testlink"></Title>
<Title>Project Title</Title>
<NavButton onClick={onClick} className="usa-menu-btn">
Menu
</NavButton>
Expand All @@ -110,7 +110,7 @@ export const extendedHeaderWithMegaMenu = (): React.ReactElement => {
<div className={`usa-overlay ${expanded ? 'is-visible' : ''}`}></div>
<ExtendedHeader>
<div className="usa-navbar">
<Title title="Project Title" link="#testlink"></Title>
<Title>Project Title</Title>
<NavButton onClick={onClick} className="usa-menu-btn">
Menu
</NavButton>
Expand Down

0 comments on commit ff7137a

Please sign in to comment.