@tripian/react 5.0.26 → 5.0.27

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.
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  interface IAccordion {
3
3
  id: string;
4
4
  title: string;
5
- content: JSX.Element;
5
+ content: React.ReactNode;
6
6
  defaultChecked?: boolean;
7
7
  onClick?: (id: string) => void;
8
8
  }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import './CloseIconButton.scss';
3
+ interface ICloseIconButton {
4
+ clicked: () => void;
5
+ fill: string;
6
+ }
7
+ declare const CloseIconButton2: React.FC<ICloseIconButton>;
8
+ export default CloseIconButton2;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import './CloseIconButton2.scss';
3
+ interface ICloseIconButton {
4
+ clicked: () => void;
5
+ fill: string;
6
+ }
7
+ declare const CloseIconButton2: React.FC<ICloseIconButton>;
8
+ export default CloseIconButton2;
@@ -3,6 +3,7 @@ interface IImgLazy {
3
3
  src: string;
4
4
  alt: string;
5
5
  className?: string;
6
+ classNameLazyLoading?: string;
6
7
  x?: number;
7
8
  y?: number;
8
9
  showThumbnails?: boolean;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const Address: React.FC<IIconSvg>;
4
+ export default Address;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const ArrowUp: React.FC<IIconSvg>;
4
+ export default ArrowUp;
@@ -2,5 +2,6 @@ interface IIconSvg {
2
2
  fill?: string;
3
3
  bgColor?: string;
4
4
  size?: string;
5
+ className?: string;
5
6
  }
6
7
  export default IIconSvg;
@@ -7,6 +7,7 @@ interface ISvg {
7
7
  color?: string;
8
8
  size?: string;
9
9
  viewBox?: string;
10
+ className?: string;
10
11
  children?: React.ReactNode;
11
12
  }
12
13
  declare const Svg: React.FC<ISvg>;
@@ -5,7 +5,7 @@ interface ITextField {
5
5
  name: string;
6
6
  value: string | number;
7
7
  size?: 'small' | 'large' | 'default';
8
- style?: any;
8
+ style?: React.CSSProperties;
9
9
  onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
10
10
  onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
11
11
  type?: string;