Sha256: 9352ce0194ae64eb8c5ed5973e97c8da65bf54756c7d0e4b8a961aafbf510c90
Contents?: true
Size: 353 Bytes
Versions: 3
Compression:
Stored size: 353 Bytes
Contents
import { InternalHelperReference } from '../utils/references'; function inputTypeHelper({ positional }) { let type = positional.at(0).value(); if (type === 'checkbox') { return '-checkbox'; } return '-text-field'; } export default function (_vm, args) { return new InternalHelperReference(inputTypeHelper, args.capture()); }
Version data entries
3 entries across 3 versions & 1 rubygems