terra-demographics-banner
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "terra-demographics-banner", | ||
"main": "lib/DemographicsBanner.js", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "The demographics component is used to display demographic information about a person in a condensed, easy to read format.", | ||
@@ -6,0 +6,0 @@ "repository": { |
import React from 'react'; | ||
import DemographicsBanner from '../../src/DemographicsBanner'; | ||
@@ -32,3 +31,3 @@ | ||
identifiers={{ MRN: 12343, REA: '3JSDA' }} | ||
photo={<img alt="My Cat" src="http://lorempixel.com/100/100/animals/7/" />} | ||
photo={<img alt="My Cat" src="" />} | ||
personName="Johnathon Doe" | ||
@@ -66,3 +65,3 @@ preferredFirstName="John" | ||
identifiers={{ MRN: 12343, REA: '3JSDA' }} | ||
photo={<img alt="My Cat" src="http://lorempixel.com/100/100/animals/7/" />} | ||
photo={<img alt="My Cat" src="" />} | ||
personName="Johnathon Doe" | ||
@@ -88,3 +87,3 @@ postMenstrualAge="April 7, 2016" | ||
personName="Johnathon Doe" | ||
photo={<img alt="My Cat" src="http://lorempixel.com/100/100/animals/7/" />} | ||
photo={<img alt="My Cat" src="" />} | ||
preferredFirstName="John" | ||
@@ -91,0 +90,0 @@ />, |
import React from 'react'; | ||
import DemographicsBanner from '../../lib/DemographicsBanner'; | ||
import demographicsCat from '../assets/demographicsCat.jpg'; | ||
@@ -18,4 +18,4 @@ export default () => | ||
personName="Johnathon Doe" | ||
photo={<img alt="My Cat" src="http://lorempixel.com/50/50/animals/7/" />} | ||
photo={<img alt="My Cat" src={demographicsCat} />} | ||
preferredFirstName="John" | ||
/>; |
Sorry, the diff of this file is not supported yet
412598
42
792