@equinor/ioc-common-frontend 10.9.2 → 10.9.3

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/build/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Theme, ThemeOptions, ButtonProps as ButtonProps$1, AutocompleteProps, AutocompleteRenderInputParams, SvgIconProps, SnackbarProps as SnackbarProps$1, SnackbarOrigin, SlideProps, MenuProps, SwitchProps as SwitchProps$1, SelectProps as SelectProps$1 } from '@mui/material';
2
+ import { Theme, ThemeOptions, ButtonProps as ButtonProps$1, AutocompleteProps, AutocompleteRenderInputParams, SvgIconProps, SnackbarProps as SnackbarProps$1, SnackbarOrigin, SlideProps, MenuProps, SwitchProps as SwitchProps$1, SelectProps as SelectProps$1, CheckboxProps } from '@mui/material';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ReactElement, HTMLInputTypeAttribute, InputHTMLAttributes, TextareaHTMLAttributes, ReactNode } from 'react';
5
5
  import { SvgIconComponent } from '@mui/icons-material';
@@ -799,13 +799,10 @@ interface TimelineProps {
799
799
  }
800
800
  declare const TimelineWrapper: React__default.FC<TimelineProps>;
801
801
 
802
- declare type FavoriteStarProps = {
803
- isChecked?: boolean;
802
+ declare type FavoriteStarProps = CheckboxProps & {
804
803
  size?: number;
805
- disabled?: boolean;
806
- onChange: (val: boolean) => void;
807
804
  };
808
- declare const FavoriteStar: ({ isChecked, size, disabled, onChange, }: FavoriteStarProps) => JSX.Element;
805
+ declare const FavoriteStar: ({ ...props }: FavoriteStarProps) => JSX.Element;
809
806
 
810
807
  declare const GlobalStyles: styled_components.GlobalStyleComponent<{}, styled_components.DefaultTheme>;
811
808