packages/react-params/src/Param/Account.tsx
Function Account
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Account (props: Props): React.ReactElement<Props> {
const { className = '', defaultValue: { value }, isDisabled, isError, label, onChange, type, withLabel } = props;
const [defaultValue] = useState(() => (value as string)?.toString());
const _onChange = useCallback(