Lucas/t 223 i can add comments to companies or people using the right (#181)
* wip * Implemented comment input text component * Improved behavior
This commit is contained in:
@ -1,9 +1,19 @@
|
||||
import { RightDrawerBody } from '../../layout/right-drawer/RightDrawerBody';
|
||||
import { RightDrawerPage } from '../../layout/right-drawer/RightDrawerPage';
|
||||
import { RightDrawerTopBar } from '../../layout/right-drawer/RightDrawerTopBar';
|
||||
import { CommentTextInput } from './CommentTextInput';
|
||||
|
||||
export function RightDrawerComments() {
|
||||
function handleSendComment(text: string) {
|
||||
console.log(text);
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<RightDrawerPage>
|
||||
<RightDrawerTopBar title="Comments" />
|
||||
</>
|
||||
<RightDrawerBody>
|
||||
<CommentTextInput onSend={handleSendComment} />
|
||||
</RightDrawerBody>
|
||||
</RightDrawerPage>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user