Skip to content

Commit

Permalink
fix: dialog icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ashley-hunter committed Dec 21, 2024
1 parent b15c5fc commit 900cd14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { HlmDialogCloseDirective } from './hlm-dialog-close.directive';
<button brnDialogClose hlm>
<span class="sr-only">Close</span>
<ng-icon hlm class="flex h-4 w-4" size="none" name="lucideX" />
<ng-icon hlm class="flex" size="sm" name="lucideX" />
</button>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
Expand Down
4 changes: 1 addition & 3 deletions libs/ui/icon/icon.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export const Default: Story = {
name: 'lucideCheck',
size: 'sm',
color: 'red',
userClass: '',
strokeWidth: 1,
},
argTypes: {
Expand All @@ -42,15 +41,14 @@ export const Default: Story = {

export const Tailwind: Story = {
args: {
userClass: 'text-red-600 text-5xl',
name: 'lucideCheck',
},
argTypes: {
name: { control: 'select', options: Object.keys(lucide) },
},
render: ({ ...args }) => ({
props: args,
template: `<ng-icon hlm ${argsToTemplate(args)} />`,
template: `<ng-icon hlm ${argsToTemplate(args)} class="text-red-600 text-5xl" />`,
}),
};

Expand Down

0 comments on commit 900cd14

Please sign in to comment.