Remove with Text
Remove GetEngineeringSpcReview Better error message EnforceCodeStyleInBuild NginxFileSystem Remove Reactors and Working Directory AppSettings Delete self contained Thunder Tests Back to .net8.0 api/v4/InfinityQS ApiExplorerSettings Wafer Counter
This commit is contained in:
22
Server/wwwroot/package/dist/collection/components/badge/badge.stories.js
vendored
Normal file
22
Server/wwwroot/package/dist/collection/components/badge/badge.stories.js
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
import { icons } from "@infineon/infineon-icons";
|
||||
export default {
|
||||
title: "Components/Badge",
|
||||
tags: ['autodocs'],
|
||||
args: {
|
||||
label: 'Badge label',
|
||||
icon: false
|
||||
},
|
||||
argTypes: {
|
||||
iconName: {
|
||||
options: Object.values(icons).map(i => i['name']),
|
||||
control: { type: 'select' }
|
||||
}
|
||||
}
|
||||
};
|
||||
const DefaultTemplate = (args) => `<ifx-badge>
|
||||
${args.icon ? `<ifx-icon icon="${args.iconName}"></ifx-icon>` : ""}
|
||||
${args.label}
|
||||
</ifx-badge>`;
|
||||
export const Default = DefaultTemplate.bind({});
|
||||
Default.argTypes = {};
|
||||
//# sourceMappingURL=badge.stories.js.map
|
Reference in New Issue
Block a user