Repository URL to install this package:
|
Version:
0.9.6 ▾
|
import { remapProps } from '@skava/modules/___dist/state-tree'
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
}