@cc98/react-ubb-editor
Version:
A ubb editor component based on react
8 lines (7 loc) • 466 B
JavaScript
import { __makeTemplateObject } from "tslib";
import styled from '@emotion/styled';
import { ExtendValueType } from '../../types';
import clear from './utils/clear';
var Input = styled('input')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n width: ", ";\n"], ["\n ", ";\n width: ", ";\n"])), clear, function (props) { return (props.valueType === ExtendValueType.Sub ? '5rem' : '15rem'); });
export default Input;
var templateObject_1;