Skip to content
Snippets Groups Projects
Commit b7f865b4 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5842 OZG-5851 Refactoring

parent 4eb83124
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ import { ExclamateIconComponent } from '../../icons/exclamate-icon/exclamate-ico
selector: 'ods-error-message',
standalone: true,
imports: [CommonModule, ExclamateIconComponent],
styles: [':host {@apply flex text-error mt-2 mb-2 text-sm items-center}'],
styles: [':host {@apply flex text-error my-2 text-sm items-center font-medium}'],
template: `<ods-exclamate-icon class="mr-1"></ods-exclamate-icon><ng-content></ng-content>`,
})
export class ErrorMessageComponent {}
......@@ -17,8 +17,4 @@ const meta: Meta<ErrorMessageComponent> = {
export default meta;
type Story = StoryObj<ErrorMessageComponent>;
export const Default: Story = {
args: {
error: 'Text of error',
},
};
export const Default: Story = {};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment