UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

24 lines (18 loc) 903 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var styled = require('styled-components'); var styled__default = _interopDefault(styled); /** * Form items are used for any kind of form input. It consists on a combination of components (compounded together) that * provide all the information to the user of what he needs to enter. These components are usually the label, the input (or select or other field) * and a description that helps the user in giving information on what is needed for that particular field. */ const FormItem = styled__default.div ` display: flex; flex-direction: column; margin-bottom: ${props => props.theme.formItem.marginBottom}; align-items: flex-start; position: relative; `; exports.FormItem = FormItem;