Answers for "react hide number spinner"

1

remove arrow spinners in styled component

const Input = styled.input`
    ::-webkit-inner-spin-button{
        -webkit-appearance: none; 
        margin: 0; 
    }
    ::-webkit-outer-spin-button{
        -webkit-appearance: none; 
        margin: 0; 
    }    
`;
Posted by: Guest on September-02-2020

Browse Popular Code Answers by Language