Merged in feat/3685-new-textarea-component (pull request #3392)
feat(SW-3685): Add new TextArea and FormTextArea components * Add new TextArea and FormTextArea components * Update example form with description * Merge branch 'master' into feat/3685-new-textarea-component * Formatting new files with new prettier config * Added custom controls for the text area story Approved-by: Linus Flood
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import TextArea from "@scandic-hotels/design-system/Form/TextArea"
|
||||
import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||
|
||||
import { FormTextArea } from "@scandic-hotels/design-system/Form/FormTextArea"
|
||||
import styles from "./specialRequests.module.css"
|
||||
|
||||
import type { RegisterOptions } from "react-hook-form"
|
||||
@@ -63,7 +63,7 @@ export function SpecialRequests({
|
||||
},
|
||||
]}
|
||||
/> */}
|
||||
<TextArea
|
||||
<FormTextArea
|
||||
label={intl.formatMessage({
|
||||
id: "enterDetails.specialRequests.commentLabel",
|
||||
defaultMessage:
|
||||
|
||||
Reference in New Issue
Block a user