Skip to content

Instantly share code, notes, and snippets.

View FrenchMajesty's full-sized avatar
🎯
Building great applications

Verdi FrenchMajesty

🎯
Building great applications
  • Dallas, TX
View GitHub Profile
@FrenchMajesty
FrenchMajesty / QueryBuilder.js
Created April 2, 2020 21:17
AdonisJS URI Query Builder
'use strict';
class QueryBuilder {
constructor(params) {
this.query = null;
this.params = this.formatParams(params);
this.hasPagination = false;
this.hasLazyLoad = false;
}
@FrenchMajesty
FrenchMajesty / PhoneNumberInput.js
Last active July 3, 2019 02:40
Ant Design Input and React-Text-Mask
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import MaskedInput from 'react-text-mask';
import { Icon, Input } from 'antd';
class PhoneNumberInput extends Component {
render() {
return (
<MaskedInput