mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-05-20 07:14:47 +07:00
moved components to TypeScript
This commit is contained in:
parent
85b8860862
commit
0a01c91271
54 changed files with 2771 additions and 5134 deletions
src/components
|
@ -1,15 +0,0 @@
|
|||
import React from 'react';
|
||||
import { Scrollbars } from 'tt-react-custom-scrollbars';
|
||||
|
||||
export const Scroll = props => (
|
||||
// renderTrackVertical={props => <div {...props} className="track-vertical"/>}
|
||||
<Scrollbars
|
||||
renderTrackHorizontal={prop => <div {...prop} className="track-horizontal" />}
|
||||
renderTrackVertical={prop => <div {...prop} className="track-vertical" />}
|
||||
renderThumbHorizontal={prop => <div {...prop} className="thumb-horizontal" />}
|
||||
renderThumbVertical={prop => <div {...prop} className="thumb-vertical" />}
|
||||
{...props}
|
||||
>
|
||||
{props.children}
|
||||
</Scrollbars>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue