15 lines
306 B
TypeScript
15 lines
306 B
TypeScript
|
import * as React from 'react';
|
||
|
|
||
|
import { BsPrefixComponent } from './helpers';
|
||
|
|
||
|
export interface FeedbackProps {
|
||
|
bsPrefix?: never;
|
||
|
type?: 'valid' | 'invalid';
|
||
|
}
|
||
|
|
||
|
declare class Feedback<
|
||
|
As extends React.ElementType = 'div'
|
||
|
> extends BsPrefixComponent<As, FeedbackProps> {}
|
||
|
|
||
|
export default Feedback;
|