@aptpod/data-viz-create-visual-parts-react
Version:
template of npm project with typescript
13 lines (9 loc) • 376 B
TypeScript
declare module 'react-storybook-addon-props-combinations' {
import React from 'react';
import { ComponentProps } from 'react';
export function setDefaults(_: any): any;
/* declare */ type PropsPatterns<S> = {
[P in keyof S]: S[P][];
};
export default function <T extends React.FC<any>>(Component: T, propsPatterns: PropsPatterns<ComponentProps<T>>): any;
}