mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-10 15:42:28 +03:00
add overlayscrollbars-react package
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
export interface OverlayScrollbarsComponentsProps {
|
||||
msg: string;
|
||||
}
|
||||
|
||||
export const OverlayScrollbarsComponents = (
|
||||
props: OverlayScrollbarsComponentsProps
|
||||
) => {
|
||||
const { msg } = props;
|
||||
return (
|
||||
<div className="App">
|
||||
<header className="App-header">
|
||||
<p>{msg}</p>
|
||||
<a
|
||||
className="App-link"
|
||||
href="https://reactjs.org"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Learn React
|
||||
</a>
|
||||
</header>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
export * from './OverlayScrollbarsComponent';
|
||||
Reference in New Issue
Block a user