-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
import React from 'react'; | ||
import ReactQuill from 'react-quill'; | ||
import 'react-quill/dist/quill.snow.css'; | ||
export interface FormRichText extends ReactQuill.ReactQuillProps { | ||
export interface FormRichTextProps extends ReactQuill.ReactQuillProps { | ||
} | ||
declare const FormRichText: ({ style, ...rest }: FormRichText) => React.JSX.Element; | ||
declare const FormRichText: { | ||
({ style, ...rest }: FormRichTextProps): React.JSX.Element; | ||
Feedback: import("react-bootstrap/esm/helpers").BsPrefixRefForwardingComponent<"div", import("react-bootstrap/esm/Feedback").FeedbackProps>; | ||
}; | ||
export default FormRichText; | ||
//# sourceMappingURL=FormRichText.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
import React from 'react'; | ||
import Feedback from 'react-bootstrap/esm/Feedback'; | ||
import ReactQuill from 'react-quill'; | ||
import 'react-quill/dist/quill.snow.css'; | ||
|
||
export interface FormRichText extends ReactQuill.ReactQuillProps {} | ||
export interface FormRichTextProps extends ReactQuill.ReactQuillProps {} | ||
|
||
const FormRichText = ({ style, ...rest }: FormRichText) => { | ||
const FormRichText = ({ style, ...rest }: FormRichTextProps) => { | ||
return <ReactQuill theme="snow" style={{ ...style }} {...rest} />; | ||
}; | ||
|
||
FormRichText.Feedback = Feedback; | ||
|
||
export default FormRichText; |