mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 19:35:15 +00:00
10 lines
465 B
TypeScript
10 lines
465 B
TypeScript
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 {};
|