1
0
Fork 0
freesewing/sites/shared/components/workbench/menu/design-options/option-input.mjs

19 lines
663 B
JavaScript

import { DesignOptionPctDeg } from 'shared/components/workbench/inputs/design-option-pct-deg.mjs'
import { CountOption } from 'shared/components/workbench/inputs/design-option-count.mjs'
import { ListOption } from 'shared/components/workbench/inputs/design-option-list.mjs'
import { Popout } from 'shared/components/popout.mjs'
export const Tmp = (props) => <p>not yet</p>
export const inputs = {
pct: DesignOptionPctDeg,
count: CountOption,
deg: (props) => <DesignOptionPctDeg {...props} type="deg" />,
list: ListOption,
mm: () => (
<Popout fixme compact>
Mm options are deprecated. Please report this
</Popout>
),
constant: Tmp,
}