stratosphere-ui 1.2.0 → 1.3.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.
@@ -0,0 +1,8 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ import { TableProps } from './Table';
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Default: Story<TableProps<{
6
+ id: string;
7
+ name: string;
8
+ }>>;
@@ -1,3 +1,6 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
1
  export type UseDebouncedStateValue = string | number | boolean | null;
3
- export declare const useDebouncedValue: <Value extends UseDebouncedStateValue>(value: Value, delay: number) => [Value, Dispatch<SetStateAction<Value>>, Value, boolean];
2
+ export type UseDebouncedValueResult<Value extends UseDebouncedStateValue> = {
3
+ debouncedValue: Value;
4
+ isDebouncing: boolean;
5
+ };
6
+ export declare const useDebouncedValue: <Value extends UseDebouncedStateValue>(value: Value, delay: number) => UseDebouncedValueResult<Value>;