2017-05-18 21:21:33 +03:00
|
|
|
import BaseInput, { Stylable } from './base/input';
|
|
|
|
import Baseline from '../baseline';
|
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
const Input = Baseline(BaseInput(Stylable('input')));
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @example ./usage-input.md
|
|
|
|
*/
|
2017-06-12 01:58:22 +03:00
|
|
|
export default ({ children, ...rest }) =>
|
2017-05-18 21:21:33 +03:00
|
|
|
<Input {...rest}>
|
|
|
|
{children}
|
2017-06-12 01:58:22 +03:00
|
|
|
</Input>;
|