Initial commit
This commit is contained in:
17
src/components/LongButtonLoading.tsx
Normal file
17
src/components/LongButtonLoading.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from "react";
|
||||
import "./LongButtonLoading.css";
|
||||
|
||||
interface LongButtonProps {
|
||||
text: string;
|
||||
onClick?: () => void;
|
||||
}
|
||||
|
||||
const LongButtonLoading: React.FC<LongButtonProps> = ({ text, onClick }) => {
|
||||
return (
|
||||
<div className="long-button-loading" onClick={onClick}>
|
||||
<span className="long-button-loading-text">{text}</span>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default LongButtonLoading;
|
||||
Reference in New Issue
Block a user