1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00: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

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,
};