joyent-portal/packages/ui-toolkit/src/form/input.js

14 lines
297 B
JavaScript
Raw Normal View History

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 }) =>
<Input {...rest}>
{children}
2017-06-12 01:58:22 +03:00
</Input>;