@foxford/ui 2.6.0-beta-01c6423-20230713 → 2.6.0-beta-3f7fdb5-20230713
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/dts/index.d.ts +2 -2
- package/package.json +1 -1
package/dts/index.d.ts
CHANGED
|
@@ -829,7 +829,7 @@ declare type AlertType = 'warning' | 'error' | 'info' | 'success';
|
|
|
829
829
|
declare type AlertSize = 'big' | 'small';
|
|
830
830
|
interface AlertProps extends BaseProps {
|
|
831
831
|
/** Text of the timer cancellation button */
|
|
832
|
-
cancelTimerText
|
|
832
|
+
cancelTimerText?: string | React.ReactNode;
|
|
833
833
|
/** Children react node */
|
|
834
834
|
children?: React.ReactNode;
|
|
835
835
|
/** Use a colorless background */
|
|
@@ -865,7 +865,7 @@ interface AlertProps extends BaseProps {
|
|
|
865
865
|
};
|
|
866
866
|
secondaryActionProps?: ButtonProps;
|
|
867
867
|
/** Use this to change the appearance of the alert */
|
|
868
|
-
size
|
|
868
|
+
size?: AlertSize;
|
|
869
869
|
/** Use it when you need to move text to another line in alerts without a title */
|
|
870
870
|
textProps?: TextProps;
|
|
871
871
|
textWrap?: boolean;
|