This file contains hidden or 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
| app.post('/api/Accounts/Create', async (req, res)=>{ | |
| try { | |
| const user = await admin.auth().createUser({ | |
| email: req.body.email, | |
| password: req.body.password, | |
| displayName: req.body.name, | |
| }) |
This file contains hidden or 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
| function NestTest(props){ | |
| return<div> | |
| {'I am searching for: ' + props.searchBarValue} | |
| </div> | |
| } | |
| function CustomBar(props){ | |
This file contains hidden or 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
| <ConfirmButton | |
| content = {<span><FontAwesomeIcon icon={faTimes}/> Click</span>} | |
| expandedContent = 'Are you sure' | |
| onClick = {()=>{console.log('button')}} | |
| /> |
This file contains hidden or 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
| import {PopupCard, FreeButton, useSystem} from 'touchpoint-ui' | |
| function PopButton(){ | |
| const {Popup} = useSystem() | |
| function clickHandler(){ | |
| Popup.open(<PopupCard title ='TouchPoint UI'> | |
| Hello there! | |
| </PopupCard>) |
This file contains hidden or 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
| <div> | |
| <SearchBar/> | |
| <MainTable | |
| searchable | |
| headers={[ | |
| {headerID: 'name', displayName: 'Name', width: 250}, | |
| {headerID: 'carMake', displayName: 'Car Make', width: 200}, |
This file contains hidden or 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
| function Demo(props){ | |
| const [chosenOne, setChosenOne] = useState(1) | |
| return <RadioGroup value={chosenOne} onChange={setChosenOne}> | |
| <RadioButton value = {1}>Option 1</RadioButton> | |
| <RadioButton value = {2}>Option 2</RadioButton> | |
| <RadioButton value = {3}>Option 3</RadioButton> | |
| <RadioButton value = {4}>Option 4</RadioButton> |
This file contains hidden or 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
| <ComboBox style={{width: 200}}> | |
| <option value='R'>Red</option> | |
| <option value='B'>Blue</option> | |
| <option value='G'>Green</option> | |
| </ComboBox> |
This file contains hidden or 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
| function TextBoxDemo(props){ | |
| const [textValue, setTextValue] = useState('hello!') | |
| return(<div> | |
| <h5>TextBox Says {textValue}</h5> | |
| <TextBox onChange={(e)=>setTextValue(e.target.value)} value = {textValue}/> | |
| </div>) | |
| } |
This file contains hidden or 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
| <ControlBar style={{borderRadius: '10px'}} searchBar> | |
| <CoreButton>Buttons</CoreButton> | |
| <CoreButton>More Buttons</CoreButton> | |
| </ControlBar> |
NewerOlder