Repository URL to install this package:
|
Version:
4.0.29 ▾
|
import { remapProps } from '@skava/utils'
import { TextBoxProps, TextBoxState } from '../typings'
import { inputPropTypes } from '../fixture'
import { autofixProps } from './autofixProps'
export function toPassThroughProps(props: TextBoxProps, state?: TextBoxState) {
const remappedProps = remapProps(inputPropTypes, props)
const propsNotInSupportedList = autofixProps(remappedProps, props)
return propsNotInSupportedList
}