lib/constants.js
Constants are prefixed with the product category + name + field in all caps snakecase format.
ie: WHITENING
+ _PEN
+ _NAME
🚨*PRODUCTION* 🚨 | |
<LINK_TO_RELEASE_COMMENT_HERE> |
// optimizely.js | |
import optimizelySDK from '@optimizely/optimizely-sdk' | |
const optimizelyClientInstance = optimizelySDK.createInstance({ | |
datafile: window.optimizelyDatafile, | |
}) | |
export default optimizelyClientInstance | |
/* -- */ |
containers/checkout-success/index.js
:
<Button arrow fullWidth onClick={() => Router.push(setupLink)} primary>
Continue
</Button>
containers/checkout-success/index.js
:
<Button arrow fullWidth onClick={() => Router.push(setupLink)} primary>
Continue
</Button>
containers/booking/reschedule.js
:
{ | |
"typeScriptReactFunctionalComponent": { | |
"prefix": "newComponent", | |
"body": [ | |
"import React, { FC } from 'react'", | |
"", | |
"const ${1:${TM_FILENAME_BASE}}: FC = () => {", | |
"\treturn (", | |
"\t\t<div>", | |
"\t\t\t$0", |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.7; | |
contract AdvanceStorage { | |
mapping(address => uint8) public ages; | |
// register -> anybody can register by providing their address & age | |
function register(uint8 age) external returns(bool) { | |
// [address1 - 8] |