Skip to content

Commit

Permalink
fix(877): Ensure Consistency between Storybook Documentation and Code…
Browse files Browse the repository at this point in the history
…base (#941)
  • Loading branch information
RubirajAccenture authored Feb 21, 2024
1 parent 41f609a commit 32b184e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const ButtonGroup = (
};

const defaultParams: BlrButtonGroupType = {
size: 'md',
sizeVariant: 'md',
alignment: 'left',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { BlrButtonGroupType } from '.';
import { BlrTextButtonRenderFunction } from '../text-button/renderFunction';

const sampleParams: BlrButtonGroupType = {
size: 'md',
sizeVariant: 'md',
alignment: 'left',
};

Expand Down
4 changes: 2 additions & 2 deletions packages/ui-library/src/components/button-group/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import { TAG_NAME } from './renderFunction';
export class BlrButtonGroup extends LitElement {
static styles = [styleCustom];

@property() size: ButtonGroupSizesType = 'md';
@property() sizeVariant: ButtonGroupSizesType = 'md';
@property() alignment: ButtonGroupAlignmentType = 'center';

protected render() {
const classes = classMap({
'blr-button-group': true,
[this.alignment]: this.alignment,
[this.size]: this.size,
[this.sizeVariant]: this.sizeVariant,
});

return html`
Expand Down

0 comments on commit 32b184e

Please sign in to comment.