Files
mina-sidor-fa-web/libs/ui/_icon/icon-custom/icon-custom.component.stories.ts
Nikola Holst Nikolic a48053d20d Merge pull request #235 in TEA/mina-sidor-fa-web from feature/TV-857-digi-ng-icon-custom to develop
Squashed commit of the following:

commit f09e5111d82dce884f83ebf1150a04890c165f39
Merge: 2184d793 4b4e5a64
Author: WP\holno <nikola.holst-nikolic@arbetsformedlingen.se>
Date:   Mon Nov 1 14:21:47 2021 +0100

    Merge branch 'develop' into feature/TV-857-digi-ng-icon-custom

commit 2184d7939f92956cb6f5aedc51a9f694692cb9a5
Author: WP\holno <nikola.holst-nikolic@arbetsformedlingen.se>
Date:   Fri Oct 29 14:47:29 2021 +0200

    Created a ui-icon-custom and removed references to digi-ng-icon-custom
2021-11-01 14:22:13 +01:00

32 lines
1.0 KiB
TypeScript

import { IconCustomComponent } from './icon-custom.component';
import { UiIconCustomModule } from './icon-custom.module';
export default { title: 'Icon/IconCustom', component: IconCustomComponent };
const componentModule = {
moduleMetadata: {
declarations: [],
imports: [UiIconCustomModule]
}
};
export const standard = () => ({
...componentModule,
template: `
<ui-icon-custom>
<svg
width="25"
height="25"
viewBox="0 0 25 25"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12.5 0C5.595 0 0 5.595 0 12.5S5.595 25 12.5 25 25 19.405 25 12.5 19.405 0 12.5 0zm0 22.58c-5.57 0-10.08-4.51-10.08-10.08S6.93 2.42 12.5 2.42 22.58 6.93 22.58 12.5 18.07 22.58 12.5 22.58zm3.115-5.261l-4.28-3.11a.609.609 0 01-.246-.49V5.445c0-.333.272-.605.605-.605h1.612c.333 0 .605.272.605.605v7.142l3.367 2.45a.604.604 0 01.131.846l-.947 1.306a.609.609 0 01-.847.13z"
fill="currentColor"
fill-rule="nonzero"
/>
</svg>
</ui-icon-custom>
`
});