mirror of
https://github.com/raphaelsalaja/userinterface-wiki.git
synced 2026-09-14 20:06:29 +08:00
ae3b426950
- Introduced a new documentation page covering various pseudo-elements, including `::backdrop`, `::view-transition`, and `::scroll-marker`. - Added examples and practical patterns for using these pseudo-elements effectively. - Created a new CSS module for styling demo components related to pseudo-elements. Also added TypeScript interface for icon properties to improve type safety in icon components.
25 lines
834 B
TypeScript
25 lines
834 B
TypeScript
import type { IconProps } from "@/icons/types";
|
|
|
|
export const ZoomOutIcon = ({
|
|
size = 24,
|
|
color = "currentColor",
|
|
...props
|
|
}: IconProps) => (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
viewBox="0 0 24 24"
|
|
fill="none"
|
|
width={size}
|
|
height={size}
|
|
{...props}
|
|
>
|
|
<title>Zoom Out</title>
|
|
<path
|
|
fillRule="evenodd"
|
|
clipRule="evenodd"
|
|
d="M11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C12.8487 19 14.551 18.3729 15.9056 17.3199L19.2927 20.7069C19.6832 21.0974 20.3164 21.0974 20.7069 20.7069C21.0974 20.3164 21.0974 19.6832 20.7069 19.2927L17.3199 15.9056C18.3729 14.551 19 12.8487 19 11C19 6.58172 15.4183 3 11 3ZM15 11C15 11.5523 14.5523 12 14 12H8C7.44772 12 7 11.5523 7 11C7 10.4477 7.44772 10 8 10L14 10C14.5523 10 15 10.4477 15 11Z"
|
|
fill={color}
|
|
/>
|
|
</svg>
|
|
);
|