enwawa-ui 3.0.1 → 3.1.0

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/lib/index.d.ts CHANGED
@@ -3965,17 +3965,26 @@ export interface OrOneDataCardProps {
3965
3965
  */
3966
3966
  title: string;
3967
3967
  /**
3968
- * children that shows the data, it can contains an icon dynamically for match the design pattern
3968
+ * text for show in the card
3969
3969
  */
3970
- children: React.ReactNode;
3970
+ text: string | number;
3971
+ /**
3972
+ * icon name for the main icon in the card
3973
+ */
3974
+ iconName?: keyof typeof Icons;
3971
3975
  /**
3972
- * subtitle showed at the bottom of the card, it can be complemented with a flag prop
3976
+ * icon color for the icon in the card
3973
3977
  */
3974
- subtitle: string;
3978
+ iconColor?: string;
3975
3979
  /**
3976
3980
  * flag children showed dynamically at right of the subtitle, it can contains an icon dynamically for match the design pattern
3977
3981
  */
3978
- flag?: string | React.ReactNode;
3982
+ flag?: {
3983
+ text: string;
3984
+ iconName?: keyof typeof Icons;
3985
+ number: number | string;
3986
+ iconColor?: string;
3987
+ };
3979
3988
  }
3980
3989
  export const OrOneDataCard: React.FC<OrOneDataCardProps>;
3981
3990
  export interface MarkersArrayMap {