siam-ui-utils 2.2.21 → 2.2.22

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": "siam-ui-utils",
3
- "version": "2.2.21",
3
+ "version": "2.2.22",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",
@@ -1,6 +1,6 @@
1
1
  import { components } from 'react-select';
2
2
 
3
- const CustomSelectInput = (props) => {
3
+ export const CustomSelectInput = (props) => {
4
4
  const customProps = { ...props };
5
5
  delete customProps.autoCorrect;
6
6
  delete customProps.autoCapitalize;
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect, useState } from 'react';
2
2
  import Select from 'react-select';
3
3
  import { Label } from 'reactstrap';
4
- import CustomSelectInput from '../CustomSelectInput';
4
+ import {CustomSelectInput} from '../CustomSelectInput';
5
5
  import { LABELS } from './constants';
6
6
  import 'react-tagsinput/react-tagsinput.css';
7
7
 
@@ -34,7 +34,7 @@ interface Props {
34
34
 
35
35
  const {SIN_DATOS, SELECCIONE}=LABELS
36
36
 
37
- const CustomSelect: React.FC<Props> = (props: Props) => {
37
+ export const CustomSelect: React.FC<Props> = (props: Props) => {
38
38
  const [firstElement] = useState(props.firstElement);
39
39
  const [newItem] = useState(props.newItem);
40
40
  const [selectedIoption, setIoption] = useState({});