@fattureincloud/fic-design-system 0.7.0 → 0.7.2

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.
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const useOutsideClick: (ref: React.MutableRefObject<HTMLDivElement | null>, allowOutsideClickClose?: boolean | undefined, closeAction?: (() => void) | undefined) => void;
2
+ declare const useOutsideClick: (ref: React.MutableRefObject<HTMLDivElement | null>, showComponent?: boolean | undefined, closeAction?: (() => void) | undefined) => void;
3
3
  export default useOutsideClick;
@@ -10,5 +10,5 @@ export interface OptionType extends OptionTypeBase {
10
10
  interface Props<O extends OptionType = OptionType, IsMulti extends boolean = false> extends Omit<OptionProps<O, IsMulti>, 'data'> {
11
11
  data: OptionType;
12
12
  }
13
- declare const Option: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ innerProps: { onClick }, data: { label, icon }, }: Props<O, IsMulti>) => JSX.Element;
13
+ declare const Option: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ innerProps: { onClick }, data: { label, icon }, isSelected, }: Props<O, IsMulti>) => JSX.Element;
14
14
  export default Option;