@oaknational/oak-components 2.27.0 → 2.28.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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +2 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -3309,9 +3309,10 @@ type OakToastProps = {
|
|
|
3309
3309
|
showIcon: boolean;
|
|
3310
3310
|
onClose?: () => void;
|
|
3311
3311
|
id?: number;
|
|
3312
|
+
showClose?: boolean;
|
|
3312
3313
|
};
|
|
3313
3314
|
type VariantKey = "green" | "yellow" | "pink" | "blue" | "aqua" | "light" | "dark" | "error" | "success";
|
|
3314
|
-
declare const OakToast: ({ message, variant, autoDismiss, autoDismissDuration, showIcon, onClose, id, }: OakToastProps) => React__default.JSX.Element;
|
|
3315
|
+
declare const OakToast: ({ message, variant, autoDismiss, autoDismissDuration, showIcon, onClose, id, showClose, }: OakToastProps) => React__default.JSX.Element;
|
|
3315
3316
|
|
|
3316
3317
|
type InternalTooltipProps = OakFlexProps & HTMLAttributes<Element> & {
|
|
3317
3318
|
children?: ReactNode;
|