Transit

A magical component, let the number also have transitional changes!

Code demonstration

import { UTransit } from 'ungeui';

Basic useage📦️

Note that Number() will be used inside the component to convert child elements, so the direct child elements of the component must be numbers⚠️

Custom transition time⏱

Props

PropertyDescriptionTypeDefault
durationDuration of transition, the unit is msnumber500

Last Updated: