@hig/avatar
Advanced tools
Comparing version 0.1.0-alpha.aa466cd9 to 0.1.0-alpha.aa9480ec
{ | ||
"name": "@hig/avatar", | ||
"version": "0.1.0-alpha.aa466cd9", | ||
"version": "0.1.0-alpha.aa9480ec", | ||
"description": "HIG Avatar", | ||
@@ -22,13 +22,13 @@ "author": "Autodesk Inc.", | ||
"prop-types": "^15.5.10", | ||
"react": "^15.4.1" | ||
"react": "^15.4.1 || ^16.3.2" | ||
}, | ||
"devDependencies": { | ||
"@hig/babel-preset": "0.2.0-alpha.aa466cd9", | ||
"@hig/eslint-config": "0.2.0-alpha.aa466cd9", | ||
"@hig/scripts": "0.2.0-alpha.aa466cd9", | ||
"@hig/styles": "0.1.0-alpha.aa466cd9" | ||
"@hig/babel-preset": "0.2.0-alpha.aa9480ec", | ||
"@hig/eslint-config": "0.2.0-alpha.aa9480ec", | ||
"@hig/scripts": "0.2.0-alpha.aa9480ec", | ||
"@hig/styles": "0.2.0-alpha.aa9480ec" | ||
}, | ||
"scripts": { | ||
"build": "hig-scripts-build", | ||
"lint": "eslint src --ext .js,.jsx" | ||
"lint": "eslint src --color --ext .js,.jsx" | ||
}, | ||
@@ -35,0 +35,0 @@ "eslintConfig": { |
# Avatar | ||
Avatars are [...]. | ||
Avatars are a visual representation of a customer's identity. These may be small thumbnails as part of a menu or more prominent, standalone elements on account and management views. | ||
<!-- TODO: Write description --> | ||
Initials are dynamically generated from the provided name and always rendered. This allows the initials to serve as a placeholder while the image is loading. | ||
@@ -22,3 +20,3 @@ | ||
```js | ||
import Avatar from '@hig/avatar'; | ||
import Avatar, { sizes } from '@hig/avatar'; | ||
import '@hig/avatar/build/index.css'; | ||
@@ -29,2 +27,7 @@ ``` | ||
<!-- TODO: Write usage description --> | ||
```jsx | ||
<Avatar | ||
name="David Gonzales" | ||
size={sizes.LARGE_36} | ||
/> | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34059
32