Skip to content

Instantly share code, notes, and snippets.

Kauê Buriti kaueburiti

Block or report user

Report or block kaueburiti

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View CurrencyConverter.js
class CurrencyConverter extends Component {
state = {
isSwapped: false,
originCurrencyValue: 0,
destinationCurrencyValue: 0,
}
render() {
const { baseCurrency,quoteCurrency } = this.props
const { originCurrencyValue, destinationCurrencyValue, isSwapped} = this.state
@kaueburiti
kaueburiti / Sass-like PostCSS config
Last active Oct 20, 2016
Basic PostCSS config to work with some Sass features
View Sass-like PostCSS config
// Webpack configs
(...)
postcss: function(webpack) {
return [
require('postcss-import')({
addDependencyTo: webpack,
root: rootPath,
path: [srcPath, nodeModulesPath]
}),
You can’t perform that action at this time.