forked from hi-hyein/nyangterest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request hi-hyein#256 from hi-hyein/feature/212-helper-text
Feature/212 helper text
- Loading branch information
Showing
8 changed files
with
130 additions
and
205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from "react"; | ||
import FormHelperText from "@material-ui/core/FormHelperText"; | ||
|
||
// helper text 보여주기 | ||
const showHelperText = (state) => { | ||
if (state.value) { | ||
return ( | ||
<FormHelperText id='component-helper-text'> | ||
{state.getValidateText()} | ||
</FormHelperText> | ||
); | ||
} | ||
}; | ||
|
||
export default showHelperText; |
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
Oops, something went wrong.