Skip to content

Commit 32b184e

Browse files
fix(877): Ensure Consistency between Storybook Documentation and Codebase (#941)
1 parent 41f609a commit 32b184e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/ui-library/src/components/button-group/index.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export const ButtonGroup = (
114114
};
115115

116116
const defaultParams: BlrButtonGroupType = {
117-
size: 'md',
117+
sizeVariant: 'md',
118118
alignment: 'left',
119119
};
120120

packages/ui-library/src/components/button-group/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { BlrButtonGroupType } from '.';
66
import { BlrTextButtonRenderFunction } from '../text-button/renderFunction';
77

88
const sampleParams: BlrButtonGroupType = {
9-
size: 'md',
9+
sizeVariant: 'md',
1010
alignment: 'left',
1111
};
1212

packages/ui-library/src/components/button-group/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ import { TAG_NAME } from './renderFunction';
99
export class BlrButtonGroup extends LitElement {
1010
static styles = [styleCustom];
1111

12-
@property() size: ButtonGroupSizesType = 'md';
12+
@property() sizeVariant: ButtonGroupSizesType = 'md';
1313
@property() alignment: ButtonGroupAlignmentType = 'center';
1414

1515
protected render() {
1616
const classes = classMap({
1717
'blr-button-group': true,
1818
[this.alignment]: this.alignment,
19-
[this.size]: this.size,
19+
[this.sizeVariant]: this.sizeVariant,
2020
});
2121

2222
return html`

0 commit comments

Comments
 (0)