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
package/src/select/index.tsx
CHANGED
|
@@ -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({});
|