Components
AirpodsProRight Component
Components
- 3DCard Component
- AirpodsProLeft Component
- AirpodsProRight Component
- Alert Component
- Audio Component
- Button Component
- Card Component
- ChargingIconRight Component
- ChargingTextLeft Component
- Checkbox Component
- Collapse Component
- EmptyState Component
- ErrorMessage Component
- Form Component
- GridLayout Component
- HelpTooltip Component
- Image Component
- Input Component
- Lamp Component
- LightBox Component
- Modal Component
- MovingBorder Component
- PageLoading Component
- Popover Component
- PropertyDefault Component
- Radio Component
- RangeSlider Component
- Select
- SilentIconLeft Component
- SongThumbnail Component
- SilentTextRight Component
- Spinner Component
- TabButton Component
- TextArea Component
- Toggle Component
- Toggle2 Component
- Tooltip Component
- WarningMessage Component
Components
AirpodsProRight Component
This component represents the right AirPods Pro icon, typically used in UI to indicate the right earbud.
Props
className
: Description of className.
Usage
import { AirpodsProRight } from 'mycrumbs-uikit';
const props = {};
<AirpodsProRight className="value1" />;
/*
We're constantly improving the code you see.
Please share your feedback here: https://form.asana.com/?k=uvp-HPgd3_hyoXRBw1IcNg&d=1152665201300829
*/
import PropTypes from "prop-types";
import React from "react";
interface Props {
className: any;
overlapGroupClassName: any;
ellipseClassName: any;
ellipse: string;
}
export const AirpodsProRight = ({
className,
overlapGroupClassName,
ellipseClassName,
ellipse = "/img/ellipse-5-4.svg",
}: Props): JSX.Element => {
return (
<div className={`w-[22px] h-[22px] ${className}`}>
<div className="relative w-[18px] h-[18px] top-[2px] left-[2px]">
<div
className={`relative w-[20px] h-[20px] -top-px -left-px bg-[100%_100%] ${overlapGroupClassName}`}
>
<img className={`absolute w-[20px] h-[20px] top-0 left-0 ${ellipseClassName}`} alt="Ellipse" src={ellipse} />
</div>
</div>
</div>
);
};
AirpodsProRight.propTypes = {
ellipse: PropTypes.string,
};