-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Benjamin Perez <[email protected]>
- Loading branch information
Showing
15 changed files
with
829 additions
and
442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FC } from "react"; | ||
import { CommentBoxProps } from "./CommentBox.types"; | ||
declare const InputBox: FC<CommentBoxProps>; | ||
export default InputBox; |
25 changes: 25 additions & 0 deletions
25
dist/cjs/types/components/CommentBox/CommentBox.types.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import React from "react"; | ||
import { CSSObject } from "styled-components"; | ||
export interface CommentBoxProps | ||
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> { | ||
id: string; | ||
fullWidth?: boolean; | ||
label?: string; | ||
tooltip?: string; | ||
sx?: CSSObject; | ||
index?: number; | ||
noLabelMinWidth?: boolean; | ||
required?: boolean; | ||
className?: string; | ||
error?: string; | ||
} | ||
export interface CommentContainerProps { | ||
children?: React.ReactNode; | ||
sx?: CSSObject; | ||
error?: boolean; | ||
startIcon?: React.ReactNode; | ||
className?: string; | ||
} | ||
export interface ExtraCommentProps { | ||
originType?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.