@pk-design/react-tailwind 1.4.0 → 1.4.1
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/react-tailwind.cjs.js +8 -10
- package/dist/react-tailwind.cjs.js.map +1 -1
- package/dist/react-tailwind.es.js +8 -10
- package/dist/react-tailwind.es.js.map +1 -1
- package/dist/types/components/Banner/Banner.types.d.ts +2 -1
- package/dist/types/components/Table/Table.types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type BannerType = 'info' | 'error' | 'success' | 'warning';
|
|
2
|
-
export type IconSize =
|
|
2
|
+
export type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
3
|
export interface BannerProps {
|
|
4
4
|
/**
|
|
5
5
|
* Defines banner type
|
|
@@ -9,6 +9,7 @@ export interface BannerProps {
|
|
|
9
9
|
children: any;
|
|
10
10
|
/**
|
|
11
11
|
* Controls the icon size
|
|
12
|
+
* @default "sm"
|
|
12
13
|
*/
|
|
13
14
|
iconSize?: IconSize;
|
|
14
15
|
}
|