-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1159 from 18F/bjs-data-source-consistent
consistentfying
- Loading branch information
Showing
11 changed files
with
69 additions
and
107 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.font-style-inherit { font-style: inherit; } | ||
.fw-100 { font-weight: 100; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,35 @@ | ||
import PropTypes from 'prop-types' | ||
import React from 'react' | ||
|
||
import Term from './Term' | ||
|
||
export const estimatedTerm = <Term id="estimated data">estimated</Term> | ||
const propTypes = { size: PropTypes.string } | ||
export const EstimatedTerm = ({ children, size }) => | ||
<Term id="estimated data" size={size}> | ||
{children || 'estimated'} | ||
</Term> | ||
|
||
EstimatedTerm.propTypes = propTypes | ||
EstimatedTerm.defaultProps = { | ||
size: 'md', | ||
} | ||
|
||
export const nibrsTerm = ( | ||
<Term id={'national incident-based reporting system (nibrs)'}> | ||
incident-based (NIBRS) | ||
export const NibrsTerm = ({ children, size }) => | ||
<Term id={'national incident-based reporting system (nibrs)'} size={size}> | ||
{children || 'incident-based (NIBRS)'} | ||
</Term> | ||
) | ||
|
||
export const srsTerm = ( | ||
<Term id={'summary reporting system (srs)'}> | ||
summary (SRS) | ||
NibrsTerm.propTypes = propTypes | ||
NibrsTerm.defaultProps = { | ||
size: 'md', | ||
} | ||
|
||
export const SrsTerm = ({ children, size }) => | ||
<Term id={'summary reporting system (srs)'} size={size}> | ||
{children || 'summary (SRS)'} | ||
</Term> | ||
) | ||
|
||
SrsTerm.propTypes = propTypes | ||
SrsTerm.defaultProps = { | ||
size: 'md', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters