import Svg, { Mask, Path, G } from "react-native-svg";
import type { SvgProps } from "react-native-svg";
const SvgComponent = ({ height, width, color }: SvgProps) => (
  <Svg width={width} height={height} fill='none' viewBox='0 0 24 24'>
    <Mask
      id='prefix__a'
      width={24}
      height={24}
      x={0}
      y={0}
      maskUnits='userSpaceOnUse'
      style={{
        maskType: "alpha",
      }}
    >
      <Path fill='#D9D9D9' d='M0 0h24v24H0z' />
    </Mask>
    <G mask='url(#prefix__a)'>
      <Path
        fill={color}
        d='M5.308 21.5q-.758 0-1.283-.525a1.75 1.75 0 0 1-.525-1.283V6.308q0-.758.525-1.283T5.308 4.5h1.384V3.154q0-.326.222-.548a.75.75 0 0 1 .549-.221q.327 0 .548.22.22.221.22.549V4.5h7.577V3.135q0-.318.215-.535a.73.73 0 0 1 .535-.215q.319 0 .534.215a.73.73 0 0 1 .216.535V4.5h1.384q.758 0 1.283.525t.525 1.283v4.313q0 .319-.216.534a.73.73 0 0 1-.534.216.73.73 0 0 1-.535-.216.73.73 0 0 1-.215-.534v-.313H5v9.384q0 .116.096.212a.3.3 0 0 0 .212.096h5.865q.319 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215zm8.808-.904v-1.361q0-.177.065-.343a.9.9 0 0 1 .206-.305l5.157-5.133a1.2 1.2 0 0 1 .835-.338 1.22 1.22 0 0 1 .857.353l.925.935q.162.186.25.404.09.218.089.434 0 .217-.076.442a1.06 1.06 0 0 1-.262.412l-5.133 5.133a.9.9 0 0 1-.648.271h-1.362a.87.87 0 0 1-.644-.26.87.87 0 0 1-.26-.644m6.267-4.388.925-.966-.925-.934-.95.95z'
      />
    </G>
  </Svg>
);
export default SvgComponent;
