@croquiscom/pds 2.2.1 → 2.2.2
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/CHANGELOG.md
CHANGED
|
@@ -19,7 +19,11 @@ export interface NormalBannerProps {
|
|
|
19
19
|
* - Icon 컴포넌트 size props가 있더라도 Icon 사이즈는 banner size 'medium'일경우 16, 'small'일경우 12로 고정됩니다.
|
|
20
20
|
*/
|
|
21
21
|
iconComponent?: React.ComponentType<IconProps>;
|
|
22
|
+
/**
|
|
23
|
+
* @default true
|
|
24
|
+
*/
|
|
25
|
+
showIcon?: boolean;
|
|
22
26
|
title?: string;
|
|
23
27
|
message?: ReactNode;
|
|
24
28
|
}
|
|
25
|
-
export declare const NormalBanner: ({ className, kind, size, iconComponent, title, message, }: NormalBannerProps) => JSX.Element;
|
|
29
|
+
export declare const NormalBanner: ({ className, kind, size, iconComponent, showIcon, title, message, }: NormalBannerProps) => JSX.Element;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<({ className, kind, size, iconComponent, title, message, }: import("./NormalBanner").NormalBannerProps) => JSX.Element>;
|
|
3
|
+
declare const _default: ComponentMeta<({ className, kind, size, iconComponent, showIcon, title, message, }: import("./NormalBanner").NormalBannerProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const Base: any;
|
|
6
6
|
export declare const NoTitle: any;
|
|
7
|
+
export declare const NoIcon: any;
|
|
7
8
|
export declare const Kind: () => JSX.Element;
|
|
8
9
|
export declare const Size: () => JSX.Element;
|
|
9
10
|
export declare const CustomIcon: () => JSX.Element;
|