component-box
component-box copied to clipboard
feat(): allow constructor args to be passed
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