mirror of
https://github.com/prymitive/karma
synced 2026-05-19 04:26:41 +00:00
chore(ui): migrate more code to typescript
This commit is contained in:
committed by
Łukasz Mierzwa
parent
55170f8812
commit
4d4dd111c1
@@ -1,9 +1,12 @@
|
||||
import React from "react";
|
||||
import React, { FC, ReactNode } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { CSSTransition } from "react-transition-group";
|
||||
|
||||
const DropdownSlide = ({ children, duration, ...props }) => (
|
||||
const DropdownSlide: FC<{
|
||||
children: ReactNode;
|
||||
duration: number;
|
||||
}> = ({ children, duration, ...props }) => (
|
||||
<CSSTransition
|
||||
classNames="components-animation-slide"
|
||||
timeout={150}
|
||||
Reference in New Issue
Block a user