Moved tabler compoments into this project for more control

This commit is contained in:
Jamie Curnow
2021-07-14 20:48:05 +10:00
parent 5ad5ad41c7
commit 52f3801b4e
37 changed files with 1247 additions and 12883 deletions

View File

@@ -0,0 +1,17 @@
import React, { ReactNode } from "react";
import cn from "classnames";
export interface LoaderProps {
/**
* Child elements within
*/
children?: ReactNode;
/**
* Additional Class
*/
className?: string;
}
export const Loader: React.FC<LoaderProps> = ({ children, className }) => {
return <div className={cn({ loader: true }, className)}>{children}</div>;
};

View File

@@ -0,0 +1 @@
export * from "./Loader";