Should be able to customize the name, type for prop attrs reflection
Open
idea
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
If not define, props will be dynamically created and type will be calculated based on the return JSON parse value
kebab attrs will automatically convert to CamelCase for props naming
How to customize? see below
```js
foo = propReflect(false, {
attr: 'is-display',
type: Boolean }
)
```
IF type is not provided, then it will try to JSON parse
```js
foo = propReflect(false, { attr: 'is-display' } )
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.