(key: string)
| 24 | * extra key convert to prop key |
| 25 | */ |
| 26 | export const getOriginalExtraKey = (key: string): string => { |
| 27 | return key.replace(new RegExp(`${EXTRA_KEY_PREFIX}`, 'g'), '') |
| 28 | } |
| 29 | |
| 30 | export const isExtraKey = (key: string): boolean => { |
| 31 | return key.startsWith(EXTRA_KEY_PREFIX) |