// eslint-disable-next-line patternfly-react/import-tokens-icons import { t_color_black as globalBlack1000 } from '@patternfly/react-tokens/dist/js/t_color_black'; import { SVGDefs } from '../defs'; interface SvgDropShadowFilterProps { // The unique ID that identifies the filter. // It is also used to uniquely identify the def entry to prevent duplicates. id: string; dx?: number; dy?: number; stdDeviation?: number; floodOpacity?: number; floodColor?: string; } const SvgDropShadowFilter: React.FunctionComponent = ({ id, dx = 0, dy = 1, stdDeviation = 2, floodColor = globalBlack1000.value, floodOpacity = 0.2 }) => { if (navigator.userAgent.includes('Edge')) { // feDropShadow is not supported by Edge return ( ); } return ( ); }; export default SvgDropShadowFilter;