chore(web): add prettier and format

This commit is contained in:
Luke
2022-08-27 15:58:36 +02:00
parent cc76d23419
commit 4a5251b60b
44 changed files with 2933 additions and 1984 deletions

View File

@@ -1,34 +1,34 @@
import { debugData } from "../../../utils/debugData";
import { InputProps } from "../../dialog/InputDialog";
import { debugData } from '../../../utils/debugData';
import { InputProps } from '../../dialog/InputDialog';
export const debugInput = () => {
debugData<InputProps>([
{
action: "openDialog",
action: 'openDialog',
data: {
heading: "Police locker",
heading: 'Police locker',
rows: [
{ type: "input", label: "Locker number", placeholder: "420" },
{ type: "checkbox", label: "Some checkbox" },
{ type: "input", label: "Locker PIN", password: true, icon: "lock" },
{ type: "checkbox", label: "Some other checkbox", checked: true },
{ type: 'input', label: 'Locker number', placeholder: '420' },
{ type: 'checkbox', label: 'Some checkbox' },
{ type: 'input', label: 'Locker PIN', password: true, icon: 'lock' },
{ type: 'checkbox', label: 'Some other checkbox', checked: true },
{
type: "select",
label: "Locker type",
type: 'select',
label: 'Locker type',
options: [
{ value: "option1" },
{ value: "option2", label: "Option 2" },
{ value: "option3", label: "Option 3" },
{ value: 'option1' },
{ value: 'option2', label: 'Option 2' },
{ value: 'option3', label: 'Option 3' },
],
},
{
type: "number",
label: "Number counter",
type: 'number',
label: 'Number counter',
default: 12,
min: 3,
max: 10,
},
{ type: "slider", label: "Slide bar", min: 10, max: 50, step: 2 },
{ type: 'slider', label: 'Slide bar', min: 10, max: 50, step: 2 },
],
},
},