react-frontend-common-components 0.0.45 → 0.0.47

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-frontend-common-components",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
4
4
  "description": "Reusable frontend library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13,6 +13,7 @@ interface AppModalProps {
13
13
  alignTitleLeft?: boolean;
14
14
  className?: string;
15
15
  closeIcon?: React.ReactNode;
16
+ width?: number;
16
17
  }
17
18
 
18
19
  const AppModal = ({
@@ -25,15 +26,17 @@ const AppModal = ({
25
26
  alignTitleLeft = false,
26
27
  className,
27
28
  closeIcon,
29
+ width,
28
30
  }: AppModalProps) => {
29
31
  return (
30
- <div className={`AppModal ${className}`}>
32
+ <div>
31
33
  <Modal
32
34
  open={visible}
35
+ width={width}
33
36
  onCancel={onClose}
34
37
  footer={null}
35
38
  closeIcon={closeIcon || <CloseOutlined />}
36
- className={"modal"}
39
+ className={className}
37
40
  >
38
41
  <div className={"header"}>
39
42
  {title && (