24 lines
1.0 KiB
TypeScript
24 lines
1.0 KiB
TypeScript
// HeroIcons shield-check — Replacement für Ionicons "shield-checkmark"
|
|
// (User-Entscheidung 2026-05-05: HeroIcons-Stil gefällt besser für Domain-
|
|
// Approved-Indikator). Inline-SVG via react-native-svg, kein Extra-Package.
|
|
//
|
|
// Quelle: heroicons.com/solid → shield-check (Apache 2.0)
|
|
import Svg, { Path } from 'react-native-svg';
|
|
|
|
type Props = {
|
|
size?: number;
|
|
color?: string;
|
|
};
|
|
|
|
export function HeroShieldCheck({ size = 18, color = '#22c55e' }: Props) {
|
|
return (
|
|
<Svg width={size} height={size} viewBox="0 0 24 24" fill={color}>
|
|
<Path
|
|
fillRule="evenodd"
|
|
clipRule="evenodd"
|
|
d="M12.516 2.17a.75.75 0 0 0-1.032 0 11.209 11.209 0 0 1-7.877 3.08.75.75 0 0 0-.722.515A12.74 12.74 0 0 0 2.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 0 0 .374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 0 0-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08Zm3.78 7.61a.75.75 0 0 0-1.06-1.06L11 12.94 9.28 11.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.06 0l4.78-4.78Z"
|
|
/>
|
|
</Svg>
|
|
);
|
|
}
|