component-box icon indicating copy to clipboard operation
component-box copied to clipboard

feat(): allow constructor args to be passed

Open MarkGeeRomano opened this issue 6 years ago • 0 comments

Allows for constructor args to be passed in. This would be a breaking API change though. We could prob skirt around a major bump by taking advantage of the positions of args instead of passing in an object ie

c('dummy', { key: 'key', constructorArgs: ['oh hai mark']})

becomes something like

c('dummy', null,  ['oh hai mark'])

This is a great little tool, thanks for sharing :D

MarkGeeRomano avatar Jan 25 '19 19:01 MarkGeeRomano