New source found from dndbeyond.com
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { HTMLAttributes, FC, ReactNode } from "react";
|
||||
|
||||
import styles from "./styles.module.css";
|
||||
|
||||
export interface NoResultsFoundProps extends HTMLAttributes<HTMLDivElement> {
|
||||
message?: ReactNode;
|
||||
}
|
||||
|
||||
export const NoResultsFound: FC<NoResultsFoundProps> = ({
|
||||
message = "No results found",
|
||||
...props
|
||||
}) => {
|
||||
return (
|
||||
<p className={styles.noResults} {...props}>
|
||||
{message}
|
||||
</p>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user