import React, { useState } from 'react'; import { PixelNumberInput } from './PixelNumberInput'; export function Default() { const [value, setValue] = useState(5); return ( ); } export function WithPrefixSuffix() { const [value, setValue] = useState(19.99); return ( ); } export function ThousandsSeparator() { const [value, setValue] = useState(1500000); return ( ); } export function HideControls() { const [value, setValue] = useState(42); return ( ); } export function WithError() { const [value, setValue] = useState(150); return ( ); }