sera-components 1.7.0 → 1.8.1

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,6 +1,6 @@
1
1
  import { DisplayInterface } from '.';
2
2
  export declare function formatDate(locale: Intl.Locale, value: Date): string;
3
3
  export declare function formatDateTime(locale: Intl.Locale, value: Date, withSeconds?: boolean): string;
4
- export declare const DateTimeDisplay: ({ value }: DisplayInterface<Date>) => import("react/jsx-runtime").JSX.Element;
5
- export declare const DateDisplay: ({ value }: DisplayInterface<Date>) => import("react/jsx-runtime").JSX.Element;
6
- export declare const DateTimeHideTimeDisplay: ({ value }: DisplayInterface<Date>) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const DateTimeDisplay: ({ value }: Pick<DisplayInterface<Date>, "value">) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const DateDisplay: ({ value }: Pick<DisplayInterface<Date>, "value">) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const DateTimeHideTimeDisplay: ({ value }: Pick<DisplayInterface<Date>, "value">) => import("react/jsx-runtime").JSX.Element;