import {
Alert,
AlertVariant,
AlertStyle,
AlertActionPlacement,
} from '../../../Alert'
import { Info, CheckCircle, AlertTriangle, XCircle } from 'lucide-react'
const AlertLightHouse = () => {
return (
<>
{/* Primary Variant - Subtle */}
{/* Success Variant - Subtle */}
{/* Warning Variant - Subtle */}
{/* Error Variant - Subtle */}
{/* Purple Variant - Subtle */}
{/* Orange Variant - Subtle */}
{/* Neutral Variant - Subtle */}
{/* Primary Variant - No Fill */}
{/* Success Variant - No Fill */}
{/* Warning Variant - No Fill */}
{/* Error Variant - No Fill */}
{/* With Icon */}
}
/>
{/* With Success Icon */}
}
/>
{/* With Warning Icon */}
}
/>
{/* With Error Icon */}
}
/>
{/* With Primary Action */}
{
console.log('Primary action clicked')
},
}}
/>
{/* With Secondary Action */}
{
console.log('Secondary action clicked')
},
}}
/>
{/* With Both Actions */}
{
console.log('Primary action clicked')
},
}}
secondaryAction={{
label: 'Cancel',
onClick: () => {
console.log('Secondary action clicked')
},
}}
/>
{/* With Close Button */}
{
console.log('Alert closed')
}}
/>
{/* With Close and Actions - Right Placement */}
{
console.log('Primary action clicked')
},
}}
onClose={() => {
console.log('Alert closed')
}}
/>
{/* With Close and Actions - Bottom Placement */}
{
console.log('Primary action clicked')
},
}}
onClose={() => {
console.log('Alert closed')
}}
/>
{/* Close Only - Bottom Placement */}
{
console.log('Alert closed')
}}
/>
{/* Success with Icon and Actions */}
}
primaryAction={{
label: 'View Details',
onClick: () => {
console.log('View details clicked')
},
}}
onClose={() => {
console.log('Alert closed')
}}
/>
{/* Warning with Icon and Actions */}
}
primaryAction={{
label: 'Learn More',
onClick: () => {
console.log('Learn more clicked')
},
}}
secondaryAction={{
label: 'Dismiss',
onClick: () => {
console.log('Dismiss clicked')
},
}}
/>
{/* Error with Icon and Actions */}
}
primaryAction={{
label: 'Retry',
onClick: () => {
console.log('Retry clicked')
},
}}
secondaryAction={{
label: 'Cancel',
onClick: () => {
console.log('Cancel clicked')
},
}}
onClose={() => {
console.log('Alert closed')
}}
/>
{/* Long Description */}
}
primaryAction={{
label: 'Read More',
onClick: () => {
console.log('Read more clicked')
},
}}
/>
{/* No Fill with Icon and Actions */}
}
primaryAction={{
label: 'Action',
onClick: () => {
console.log('Action clicked')
},
}}
onClose={() => {
console.log('Alert closed')
}}
/>
{/* All Variants with No Fill */}
{/* Minimal Alert */}
>
)
}
export default AlertLightHouse