Skip to content

Instantly share code, notes, and snippets.

Avatar
🏋️‍♂️
lifting weights

Filippo Italiano filippoitaliano

🏋️‍♂️
lifting weights
View GitHub Profile
@filippoitaliano
filippoitaliano / DateRangePicker.jsx
Created Aug 28, 2018
Rough implementation of react-date-range for a mobile-friendly React application.
View DateRangePicker.jsx
import { FALLBACK_LOCALE } from '$appConfig/config.i18n';
import React from 'react';
import PropTypes from 'prop-types';
import autoBind from 'auto-bind';
import debounce from 'lodash/debounce';
import * as locales from 'react-date-range/src/locale';
import { DateRangePicker as Picker } from 'react-date-range';
class DateRangePicker extends React.Component {
View VscodeSettings.json
// Settings:
{
"beautify.tabSize": 2,
"bracketPairColorizer.showHorizontalScopeLine": false,
"bracketPairColorizer.showVerticalScopeLine": false,
"breadcrumbs.enabled": true,
"css.validate": false,
"cssModules.camelCase": true,
"docthis.includeDateTag": true,
"editor.fontFamily": "Fira Code",
You can’t perform that action at this time.