| 1 |
import classNames from "classnames"; |
| 2 |
import React, { useEffect, useMemo, useState } from "react"; |
| 3 |
import { GenericInput, Input } from "quickbuilder"; |
| 4 |
import { withLabel } from "quickbuilder"; |
| 5 |
|
| 6 |
function Migration(props) { |
| 7 |
const componentClasses = classNames( |
| 8 |
"wprf-checkbox-wrap wprf-name-migration_step", |
| 9 |
props?.classes, |
| 10 |
); |
| 11 |
return ( |
| 12 |
<div className={componentClasses}> |
| 13 |
<GenericInput {...{ ...props, type: "checkbox" }} /> |
| 14 |
<label htmlFor={props.id}>{props.label}</label> |
| 15 |
</div> |
| 16 |
); |
| 17 |
} |
| 18 |
|
| 19 |
export default withLabel(Migration); |
| 20 |
|