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

20 lines
658 B
JavaScript
Raw Normal View History

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'
2023-02-05 19:58:25 +01:00
export const Tmp = () => <p>not yet</p>
export const inputs = {
2023-02-05 19:58:25 +01:00
Pct: DesignOptionPctDeg,
Count: CountOption,
Deg: (props) => <DesignOptionPctDeg {...props} type="deg" />,
List: ListOption,
Mm: () => (
<Popout fixme compact>
Mm options are deprecated. Please report this
</Popout>
),
2023-02-05 19:58:25 +01:00
Constant: Tmp,
}