fui-fancyui
Version:
FancyUI Libary
24 lines (21 loc) • 543 B
JavaScript
import { styled as n } from "styled-components";
import t from "../RawInput/RawInput.js";
const i = n(t)`
border-radius: 0;
width: ${({ $width: e }) => e || "2ch"};
background-color: transparent;
border: none;
outline: none;
//the focus animation for the underline
&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
// hide the arrows on the input for firefox
-moz-appearance: textfield;
${({ $externalStyle: e }) => e}
`;
export {
i as StyledNumberInput
};