@nextelco/common-ui 1.6.86 → 1.6.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +1 -1
- package/dist/types/components/atoms/Button/variants/IconButton.stories.d.ts +1 -0
- package/dist/types/components/atoms/IconText/IconText.d.ts +11 -0
- package/dist/types/components/atoms/IconText/IconText.stories.d.ts +8 -0
- package/dist/types/types/ButtonThemes.d.ts +1 -1
- package/dist/types/types/IconTextTheme.d.ts +5 -0
- package/package.json +1 -1
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
3
|
+
import './IconText.scss';
|
4
|
+
import { IconTextTheme } from '../../../types/IconTextTheme';
|
5
|
+
interface IconTextProps {
|
6
|
+
icon: IconProp;
|
7
|
+
text: string;
|
8
|
+
theme: IconTextTheme;
|
9
|
+
}
|
10
|
+
declare const IconText: React.FC<IconTextProps>;
|
11
|
+
export default IconText;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import IconText from './IconText';
|
3
|
+
declare const meta: Meta<typeof IconText>;
|
4
|
+
export default meta;
|
5
|
+
type Story = StoryObj<typeof meta>;
|
6
|
+
export declare const Logout: Story;
|
7
|
+
export declare const Confirm: Story;
|
8
|
+
export declare const Deny: Story;
|