iwelp
Version:
A feedback component library
23 lines (22 loc) • 519 B
TypeScript
export default Post;
export type PostProps = {
id: string;
type: string;
body: string;
title: string;
};
/**
* Post component for displaying different types of content
*
* @param {PostProps} props - Props for Post component
* @returns {React.ReactElement}
*/
declare function Post({ id, type, body, title }: PostProps): React.ReactElement;
declare namespace Post {
namespace propTypes {
let type: any;
let body: any;
let title: any;
}
let displayName: string;
}