Used in react-dropzone
docs
import React from 'react'
import classNames from 'classnames'
import Dropzone from 'react-dropzone'
class MyDropzone extends React.Component {
onDrop = (acceptedFiles, rejectedFiles) => {
// Do something with files
import * as React from 'react'; | |
import * as classNames from 'classnames'; | |
export interface FadeInProps { | |
when: boolean; | |
delay?: number; | |
duration?: number; | |
distance?: string; | |
order?: number; | |
className?: string; |
pandoc -s document.docx -t markdown -o document.md | |
# Then use Markdown All in One plugin to convert to html |
git mv src/routes/privacy/components/PrivacyPl.tsx src/routes/privacy/components/PrivacyPL.tsx | |
# MacOS is a case insensitive filesystem |
git reset --hard <remote>/<branch_name> |
mv (option) file1.ext file2.ext |
Used in react-dropzone
docs
import React from 'react'
import classNames from 'classnames'
import Dropzone from 'react-dropzone'
class MyDropzone extends React.Component {
onDrop = (acceptedFiles, rejectedFiles) => {
// Do something with files
Fetch the remote branch from the origin first
git fetch origin remote_branch_name
Merge the remote branch to the local branch
git merge origin/remote_branch_name