Skip to content

Commit

Permalink
update package dependencies (#13)
Browse files Browse the repository at this point in the history
* update package dependencies

* change default avatar className
  • Loading branch information
luisfilipegoncalves authored Feb 4, 2021
1 parent ee9d13e commit cb963e7
Show file tree
Hide file tree
Showing 4 changed files with 555 additions and 320 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,14 @@
"size-limit": "^4.9.1",
"tsdx": "^0.14.1",
"tslib": "^2.0.3",
"typescript": "^4.1.2"
"typescript": "^4.1.2",
"@testing-library/jest-dom": "^5.11.9",
"babel-jest": "^26.6.3"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"dependencies": {
"@testing-library/jest-dom": "^5.11.9",
"polished": "^4.0.5",
"styled-components": "^5.2.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`Avatar renders 1`] = `
<DocumentFragment>
<img
alt="avatar alt"
class="sc-bdfBwQ eWkXDZ avatar"
class="sc-bdfBwQ eWkXDZ tk-avatar"
src="/dummy.png"
/>
</DocumentFragment>
Expand Down
2 changes: 1 addition & 1 deletion src/atoms/avatar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface AvatarProps {
}

const Avatar = (props: AvatarProps) => {
const { url, alt, style, className = 'avatar' } = props;
const { url, alt, style, className = 'tk-avatar' } = props;
return (
<Styles.Image className={className} src={url} alt={alt} style={style} />
);
Expand Down
Loading

0 comments on commit cb963e7

Please sign in to comment.