1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-27 04:03:00 +02:00

Ensure avatar component is stable (#3640)

This commit is contained in:
Oscar Hinton 2022-09-29 18:57:35 +02:00 committed by GitHub
parent a0e89af120
commit 1fbfb89cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ export default {
title: "Component Library/Avatar",
component: AvatarComponent,
args: {
id: undefined,
text: "Walt Walterson",
size: "default",
},
@ -28,13 +29,11 @@ Default.args = {
export const Large = Template.bind({});
Large.args = {
...Default.args,
size: "large",
};
export const Small = Template.bind({});
Small.args = {
...Default.args,
size: "small",
};
@ -45,7 +44,6 @@ LightBackground.args = {
export const Border = Template.bind({});
Border.args = {
...Default.args,
border: true,
};