(props)
| 20 | // Component |
| 21 | class App extends Component { |
| 22 | constructor(props) { |
| 23 | super(props); |
| 24 | |
| 25 | this.state = { |
| 26 | // Set initial files, type 'local' means this is a file |
| 27 | // that has already been uploaded to the server (see docs) |
| 28 | files: [{ |
| 29 | source: 'photo.jpeg', |
| 30 | options: { |
| 31 | type: 'local' |
| 32 | } |
| 33 | }] |
| 34 | }; |
| 35 | } |
| 36 | |
| 37 | handleInit() { |
| 38 | console.log('FilePond instance has initialised', this.pond); |
nothing calls this directly
no outgoing calls
no test coverage detected