feat: add dynamic optional fields support (#534)

Added a new component that renders fields based on the
field descriptions returned from backend

VAN-835
This commit is contained in:
Zainab Amir
2022-03-01 16:00:37 +05:00
committed by GitHub
parent 7e82785c7b
commit 6e99e1e72c
17 changed files with 740 additions and 7 deletions

View File

@@ -70,7 +70,7 @@ const LogistrationDefaultProps = {
};
const LogistrationProps = {
secondaryProviders: PropTypes.arrayOf(PropTypes.shape({
name: PropTypes.string.isRequried,
name: PropTypes.string.isRequired,
loginUrl: PropTypes.string.isRequired,
})),
};