chore(storybook): purge unused Providers props
This commit is contained in:
@@ -17,33 +17,9 @@ interface Props {
|
|||||||
* Content snippet
|
* Content snippet
|
||||||
*/
|
*/
|
||||||
children: Snippet;
|
children: Snippet;
|
||||||
/**
|
|
||||||
* Initial viewport width
|
|
||||||
* @default 1280
|
|
||||||
*/
|
|
||||||
initialWidth?: number;
|
|
||||||
/**
|
|
||||||
* Initial viewport height
|
|
||||||
* @default 720
|
|
||||||
*/
|
|
||||||
initialHeight?: number;
|
|
||||||
/**
|
|
||||||
* Tooltip delay duration
|
|
||||||
*/
|
|
||||||
tooltipDelayDuration?: number;
|
|
||||||
/**
|
|
||||||
* Tooltip skip delay duration
|
|
||||||
*/
|
|
||||||
tooltipSkipDelayDuration?: number;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let {
|
let { children }: Props = $props();
|
||||||
children,
|
|
||||||
initialWidth = 1280,
|
|
||||||
initialHeight = 720,
|
|
||||||
tooltipDelayDuration = 200,
|
|
||||||
tooltipSkipDelayDuration = 300,
|
|
||||||
}: Props = $props();
|
|
||||||
|
|
||||||
// Create a responsive manager with default breakpoints
|
// Create a responsive manager with default breakpoints
|
||||||
const responsiveManager = createResponsiveManager();
|
const responsiveManager = createResponsiveManager();
|
||||||
|
|||||||
Reference in New Issue
Block a user