-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAT-7790: Function Builder defaults (#382)
* MAT-7790: update defaults and fix button movement * MAT-7790: fix styles * MAT-7790: remove function name validation
- Loading branch information
1 parent
5ac33f6
commit fb951f0
Showing
4 changed files
with
21 additions
and
1 deletion.
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
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
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
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,8 @@ | ||
import * as Yup from "yup"; | ||
|
||
export const FunctionSectionSchemaValidator = Yup.object().shape({ | ||
functionName: Yup.string().required("Function name is required"), | ||
comment: Yup.string(), | ||
fluentFunction: Yup.boolean(), | ||
body: Yup.string(), | ||
}); |