mirror of
https://github.com/kopia/kopia.git
synced 2026-03-17 05:38:34 -04:00
26 lines
657 B
JavaScript
26 lines
657 B
JavaScript
import React, { Component } from 'react';
|
|
import Form from 'react-bootstrap/Form';
|
|
|
|
import { validateRequiredFields, handleChange, RequiredField } from './forms';
|
|
|
|
export class SetupFilesystem extends Component {
|
|
constructor() {
|
|
super();
|
|
|
|
this.state = {};
|
|
this.handleChange = handleChange.bind(this);
|
|
}
|
|
|
|
validate() {
|
|
return validateRequiredFields(this, ["path"])
|
|
}
|
|
|
|
render() {
|
|
return <>
|
|
<Form.Row>
|
|
{RequiredField(this, "Directory Path", "path", { placeholder: "enter path to a directory where to store repository files" })}
|
|
</Form.Row>
|
|
</>;
|
|
}
|
|
}
|