Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / src / inputs / TextBox / deps / toPassThroughProps.ts
Size: Mime:
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
}