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
/src | |
index.js | |
/dist | |
index.html | |
# bundle.js will be created automatically when you run `npm run build` | |
package.json |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Fearless</title> | |
</head> | |
<body> | |
<div id='root'></div> | |
<script src='bundle.js'></script> | |
</body> | |
</html> |
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 is a CreatableAutocomplete component that can be used to create new | |
* options using MUI's Autocomplete component. | |
* | |
* Motivation: the MUI interface for creatable autocomplete is complex and hard | |
* to follow, this component simplifies the interface by separating the event of | |
* selecting an option from the event of creating a new option. | |
* | |
* Usage copy-paste it and use it like this: | |
* |
OlderNewer