GoScrobble/web/node_modules/react-bootstrap/cjs/createWithBsPrefix.d.ts

10 lines
465 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
import React from 'react';
import { BsPrefixRefForwardingComponent } from './helpers';
interface BsPrefixOptions<As extends React.ElementType = 'div'> {
displayName?: string;
Component?: As;
defaultProps?: Partial<React.ComponentProps<As>>;
}
export default function createWithBsPrefix<As extends React.ElementType = 'div'>(prefix: string, { displayName, Component, defaultProps, }?: BsPrefixOptions<As>): BsPrefixRefForwardingComponent<As>;
export {};