flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
11 lines (10 loc) • 593 B
text/typescript
import { withoutThemingProps } from "./without-theming-props";
/**
* Resolves and merges component props with provider props while removing theming-related properties
*
* @template T - The type of the component props
* @param {T} props - The component props to resolve
* @param {unknown} [providerProps] - Optional provider props to merge with component props
* @returns {ReturnType<typeof withoutThemingProps<T>>} The merged props with theming properties removed
*/
export declare function resolveProps<T>(props: T, providerProps?: unknown): ReturnType<typeof withoutThemingProps<T>>;