Skip to content

Commit 710252e

Browse files
committed
Added Comments
1 parent ba44631 commit 710252e

22 files changed

+231
-19
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import React from 'react';
2+
export interface CommentsProps extends React.HTMLProps<HTMLDivElement> {
3+
}
4+
declare const Comments: {
5+
({ children, ...rest }: CommentsProps): React.JSX.Element;
6+
Input: ({ onSubmit, ...rest }: import("./components/CommentInput").CommentInput) => React.JSX.Element;
7+
Item: ({ inbound, text, className, createdAt, createdBy, onDelete, ...rest }: import("./components/CommentItem").CommentItemProps) => React.JSX.Element;
8+
};
9+
export default Comments;
10+
//# sourceMappingURL=Comments.d.ts.map

dist/components/comments/Comments.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/comments/Commets.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import React from "react";
2+
export interface CommentsProps extends React.HTMLProps<HTMLDivElement> {
3+
}
4+
declare const Comments: {
5+
({ children, ...rest }: CommentsProps): React.JSX.Element;
6+
Item: ({ inbound, text, className, ...rest }: import("./components/CommentItem").CommentItemProps) => React.JSX.Element;
7+
};
8+
export default Comments;
9+
//# sourceMappingURL=Commets.d.ts.map

dist/components/comments/Commets.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import React from 'react';
2+
import { FormControlProps } from 'react-bootstrap';
3+
export interface CommentInput extends FormControlProps {
4+
onSubmit: () => void;
5+
}
6+
declare const CommentInput: ({ onSubmit, ...rest }: CommentInput) => React.JSX.Element;
7+
export default CommentInput;
8+
//# sourceMappingURL=CommentInput.d.ts.map

dist/components/comments/components/CommentInput.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from 'react';
2+
export interface CommentItemProps extends React.HTMLProps<HTMLDivElement> {
3+
inbound: boolean;
4+
text: string;
5+
createdBy: string;
6+
createdAt: Date;
7+
onDelete: () => void;
8+
}
9+
declare const CommentItem: ({ inbound, text, className, createdAt, createdBy, onDelete, ...rest }: CommentItemProps) => React.JSX.Element;
10+
export default CommentItem;
11+
//# sourceMappingURL=CommentItem.d.ts.map

dist/components/comments/components/CommentItem.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,6 +1137,10 @@ i.toast-icon {
11371137
}
11381138
}
11391139

1140+
.cursor-pointer {
1141+
cursor: pointer;
1142+
}
1143+
11401144
@font-face {
11411145
font-family: "kohinoor";
11421146
src: url("https://use.typekit.net/af/90bc9f/0000000000000000774f4a9a/30/l?subset_id=2&fvd=n5&v=3") format("woff2"), url("https://use.typekit.net/af/90bc9f/0000000000000000774f4a9a/30/d?subset_id=2&fvd=n5&v=3") format("woff"), url("https://use.typekit.net/af/90bc9f/0000000000000000774f4a9a/30/a?subset_id=2&fvd=n5&v=3") format("opentype");

dist/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ import Subtitle from './components/subtitle/Subtitle';
2020
import Layout from './components/layout/Layout';
2121
import Tabs from './components/tabs/Tabs';
2222
import TexmoIcon from './components/texmoIcon/TexmoIcon';
23+
import Comments from './components/comments/Comments';
2324
import TexmoProvider from './contexts/TexmoContext';
2425
import * as Icons from './icons/index';
2526
import '../scss/texmo-react-components.scss';
26-
export { Button, Table, Form, Title, Card, Chip, List, ProgressBar, SideNavbar, InfoTile, Header, UserProfile, Footer, SearchBar, Breadcrumbs, FilterButton, NavItem, Nav, Subtitle, Layout, Tabs, TexmoIcon, Icons, TexmoProvider, };
27+
export { Button, Table, Form, Title, Card, Chip, List, ProgressBar, SideNavbar, InfoTile, Header, UserProfile, Footer, SearchBar, Breadcrumbs, FilterButton, NavItem, Nav, Subtitle, Layout, Tabs, TexmoIcon, Comments, Icons, TexmoProvider, };
2728
//# sourceMappingURL=index.d.ts.map

0 commit comments

Comments
 (0)