Add src/components/buttons/BookConsultationButton.tsx
This commit is contained in:
33
src/components/buttons/BookConsultationButton.tsx
Normal file
33
src/components/buttons/BookConsultationButton.tsx
Normal file
@@ -0,0 +1,33 @@
|
||||
"use client";
|
||||
import ButtonTextStagger from '@/components/button/ButtonTextStagger/ButtonTextStagger';
|
||||
import React from 'react';
|
||||
|
||||
interface BookConsultationButtonProps {
|
||||
text?: string;
|
||||
onClick?: () => void;
|
||||
className?: string; // For additional styling
|
||||
bgClassName?: string; // For background styling, typically handled by ThemeProvider primaryButtonStyle
|
||||
textClassName?: string; // For text styling
|
||||
ariaLabel?: string;
|
||||
}
|
||||
|
||||
const BookConsultationButton: React.FC<BookConsultationButtonProps> = ({
|
||||
text = "Book a Consultation", onClick,
|
||||
className,
|
||||
bgClassName,
|
||||
textClassName,
|
||||
ariaLabel = "Book a consultation call"}) => {
|
||||
return (
|
||||
<ButtonTextStagger
|
||||
text={text}
|
||||
href="/consultation"
|
||||
onClick={onClick}
|
||||
className={className}
|
||||
bgClassName={bgClassName} // Rely on ThemeProvider's primaryButtonStyle
|
||||
textClassName={textClassName}
|
||||
ariaLabel={ariaLabel}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default BookConsultationButton;
|
||||
Reference in New Issue
Block a user