mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-30 13:41:45 +00:00
13 lines
362 B
TypeScript
13 lines
362 B
TypeScript
import { Slide } from '@mui/material';
|
|
import { TransitionProps } from '@mui/material/transitions';
|
|
import { forwardRef, ReactElement, Ref } from 'react';
|
|
|
|
export const TransitionUp = forwardRef(function Transition(
|
|
props: TransitionProps & {
|
|
children: ReactElement;
|
|
},
|
|
ref: Ref<unknown>
|
|
) {
|
|
return <Slide direction="up" ref={ref} {...props} />;
|
|
});
|