mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06:02 +01:00
chore(web): add prettier and format
This commit is contained in:
@@ -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 },
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user