8 lines
229 B
TypeScript
8 lines
229 B
TypeScript
|
import React from 'react';
|
||
|
import { withConditional } from 'components/hocs';
|
||
|
|
||
|
const Input: React.SFC<React.InputHTMLAttributes<any>> = props => (
|
||
|
<input {...props} />
|
||
|
);
|
||
|
export const ConditionalInput = withConditional(Input);
|