UNPKG

@ntragas/pouncejstest

Version:

A collection of UI components from Panther labs

20 lines (19 loc) 566 B
import { ControlledAlertProps } from './ControlledAlert'; declare type UseControlledAlertStylesProps = Pick<ControlledAlertProps, 'variant'>; declare const useAlertStyles: ({ variant }: UseControlledAlertStylesProps) => { icon: "check-circle"; backgroundColor: "green-400"; } | { icon: "info"; backgroundColor: "blue-400"; } | { icon: "alert-circle"; backgroundColor: "orange-400"; } | { icon: "alert-circle"; backgroundColor: "pink-700"; } | { icon: "info"; backgroundColor: "navyblue-300"; }; export default useAlertStyles;