import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Rearrange = (allProps: IconProps) => { const { svgProps: props, iconStyle, ...restProps } = allProps; const styles: { [style: string]: React.ReactNode } = { Broken: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M2 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C3.098 15 3.565 15 4.5 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549C7 16.098 7 16.565 7 17.5s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549C5.902 20 5.435 20 4.5 20s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549C2 18.902 2 18.435 2 17.5ZM9.5 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C10.598 15 11.065 15 12 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549c.201.348.201.815.201 1.75s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549C13.402 20 12.935 20 12 20s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549c-.201-.348-.201-.815-.201-1.75ZM17 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C18.098 15 18.565 15 19.5 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549c.201.348.201.815.201 1.75s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549c-.348.201-.815.201-1.75.201s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549C17 18.902 17 18.435 17 17.5Z" stroke="currentColor" strokeWidth={1.5} /><path d="M3.75 15a.75.75 0 0 0 1.5 0h-1.5ZM14.5 3.25a.75.75 0 0 0 0 1.5v-1.5Zm5 8.75-.53.53a.75.75 0 0 0 1.06 0L19.5 12Zm2.53-1.47a.75.75 0 1 0-1.06-1.06l1.06 1.06Zm-4-1.06a.75.75 0 1 0-1.06 1.06l1.06-1.06ZM10.5 4.75a.75.75 0 0 0 0-1.5v1.5ZM5.25 15V9h-1.5v6h1.5Zm13.5-6v3h1.5V9h-1.5Zm1.28 3.53 2-2-1.06-1.06-2 2 1.06 1.06Zm0-1.06-2-2-1.06 1.06 2 2 1.06-1.06ZM14.5 4.75c1.2 0 2.024.002 2.643.085.598.08.89.224 1.094.428l1.061-1.061c-.529-.529-1.19-.751-1.955-.854-.742-.1-1.686-.098-2.843-.098v1.5ZM20.25 9c0-1.157.002-2.1-.098-2.843-.103-.764-.325-1.426-.854-1.955l-1.06 1.06c.203.204.347.497.427 1.095.083.619.085 1.443.085 2.643h1.5Zm-15 0c0-1.2.002-2.024.085-2.643.08-.598.224-.89.428-1.094L4.702 4.202c-.529.529-.751 1.19-.854 1.955-.1.742-.098 1.686-.098 2.843h1.5ZM9.5 3.25c-1.157 0-2.1-.002-2.843.098-.764.103-1.426.325-1.955.854l1.06 1.06c.204-.203.497-.347 1.095-.427C7.476 4.752 8.3 4.75 9.5 4.75v-1.5Zm0 1.5h1v-1.5h-1v1.5Z" fill="currentColor" /></svg>, LineDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M2 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C3.098 15 3.565 15 4.5 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549C7 16.098 7 16.565 7 17.5s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549C5.902 20 5.435 20 4.5 20s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549C2 18.902 2 18.435 2 17.5Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M9.5 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C10.598 15 11.065 15 12 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549c.201.348.201.815.201 1.75s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549C13.402 20 12.935 20 12 20s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549c-.201-.348-.201-.815-.201-1.75Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.7} d="M17 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C18.098 15 18.565 15 19.5 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549c.201.348.201.815.201 1.75s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549c-.348.201-.815.201-1.75.201s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549C17 18.902 17 18.435 17 17.5Z" stroke="currentColor" strokeWidth={1.5} /><path d="M3.75 15a.75.75 0 0 0 1.5 0h-1.5Zm15.75-3-.53.53a.75.75 0 0 0 1.06 0L19.5 12Zm2.53-1.47a.75.75 0 1 0-1.06-1.06l1.06 1.06Zm-4-1.06a.75.75 0 1 0-1.06 1.06l1.06-1.06ZM5.25 15V9h-1.5v6h1.5ZM9.5 4.75h5v-1.5h-5v1.5ZM18.75 9v3h1.5V9h-1.5Zm1.28 3.53 2-2-1.06-1.06-2 2 1.06 1.06Zm0-1.06-2-2-1.06 1.06 2 2 1.06-1.06ZM14.5 4.75c1.2 0 2.024.002 2.643.085.598.08.89.224 1.094.428l1.061-1.061c-.529-.529-1.19-.751-1.955-.854-.742-.1-1.686-.098-2.843-.098v1.5ZM20.25 9c0-1.157.002-2.1-.098-2.843-.103-.764-.325-1.426-.854-1.955l-1.06 1.06c.203.204.347.497.427 1.095.083.619.085 1.443.085 2.643h1.5Zm-15 0c0-1.2.002-2.024.085-2.643.08-.598.224-.89.428-1.094L4.702 4.202c-.529.529-.751 1.19-.854 1.955-.1.742-.098 1.686-.098 2.843h1.5ZM9.5 3.25c-1.157 0-2.1-.002-2.843.098-.764.103-1.426.325-1.955.854l1.06 1.06c.204-.203.497-.347 1.095-.427C7.476 4.752 8.3 4.75 9.5 4.75v-1.5Z" fill="currentColor" /></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M2 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C3.098 15 3.565 15 4.5 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549C7 16.098 7 16.565 7 17.5s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549C5.902 20 5.435 20 4.5 20s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549C2 18.902 2 18.435 2 17.5ZM9.5 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C10.598 15 11.065 15 12 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549c.201.348.201.815.201 1.75s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549C13.402 20 12.935 20 12 20s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549c-.201-.348-.201-.815-.201-1.75ZM17 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C18.098 15 18.565 15 19.5 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549c.201.348.201.815.201 1.75s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549c-.348.201-.815.201-1.75.201s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549C17 18.902 17 18.435 17 17.5Z" stroke="currentColor" strokeWidth={1.5} /><path d="M3.75 15a.75.75 0 0 0 1.5 0h-1.5Zm15.75-3-.53.53a.75.75 0 0 0 1.06 0L19.5 12Zm2.53-1.47a.75.75 0 1 0-1.06-1.06l1.06 1.06Zm-4-1.06a.75.75 0 1 0-1.06 1.06l1.06-1.06ZM5.25 15V9h-1.5v6h1.5ZM9.5 4.75h5v-1.5h-5v1.5ZM18.75 9v3h1.5V9h-1.5Zm1.28 3.53 2-2-1.06-1.06-2 2 1.06 1.06Zm0-1.06-2-2-1.06 1.06 2 2 1.06-1.06ZM14.5 4.75c1.2 0 2.024.002 2.643.085.598.08.89.224 1.094.428l1.061-1.061c-.529-.529-1.19-.751-1.955-.854-.742-.1-1.686-.098-2.843-.098v1.5ZM20.25 9c0-1.157.002-2.1-.098-2.843-.103-.764-.325-1.426-.854-1.955l-1.06 1.06c.203.204.347.497.427 1.095.083.619.085 1.443.085 2.643h1.5Zm-15 0c0-1.2.002-2.024.085-2.643.08-.598.224-.89.428-1.094L4.702 4.202c-.529.529-.751 1.19-.854 1.955-.1.742-.098 1.686-.098 2.843h1.5ZM9.5 3.25c-1.157 0-2.1-.002-2.843.098-.764.103-1.426.325-1.955.854l1.06 1.06c.204-.203.497-.347 1.095-.427C7.476 4.752 8.3 4.75 9.5 4.75v-1.5Z" fill="currentColor" /></svg>, Outline: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path fillRule="evenodd" clipRule="evenodd" d="M9.446 3.25c-1.133 0-2.058 0-2.79.098-.763.103-1.425.325-1.954.854-.529.529-.751 1.19-.854 1.955-.098.73-.098 1.656-.098 2.79v5.309c-.148.004-.286.01-.413.022-.329.03-.655.096-.962.273a2.25 2.25 0 0 0-.824.824c-.177.307-.243.633-.273.962-.028.312-.028.691-.028 1.13v.065c0 .44 0 .82.028 1.13.03.33.096.656.273.963.198.342.482.626.824.824.307.177.633.243.962.273.312.028.69.028 1.13.028h.065c.44 0 .82 0 1.13-.028.33-.03.656-.096.963-.273a2.25 2.25 0 0 0 .824-.824c.177-.307.243-.633.273-.962.028-.312.028-.691.028-1.13v-.065c0-.44 0-.82-.028-1.13-.03-.33-.096-.656-.273-.963a2.25 2.25 0 0 0-.824-.824c-.307-.177-.633-.243-.962-.273a6.554 6.554 0 0 0-.413-.022V9c0-1.2.002-2.024.085-2.643.08-.598.224-.89.428-1.094.203-.204.496-.348 1.094-.428C7.476 4.752 8.3 4.75 9.5 4.75h5c1.2 0 2.024.002 2.643.085.598.08.89.224 1.094.428.204.203.348.496.428 1.094.083.619.085 1.443.085 2.643v1.19l-.72-.72a.75.75 0 1 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l2-2a.75.75 0 1 0-1.06-1.06l-.72.72V8.945c0-1.133 0-2.058-.098-2.79-.103-.763-.325-1.425-.854-1.954-.529-.529-1.19-.751-1.955-.854-.73-.098-1.656-.098-2.79-.098H9.447ZM4.5 15.75c-.481 0-.792 0-1.027.022-.225.02-.307.055-.348.079a.75.75 0 0 0-.275.274c-.023.04-.058.123-.078.348A12.81 12.81 0 0 0 2.75 17.5c0 .481 0 .792.022 1.027.02.225.055.307.078.348a.75.75 0 0 0 .275.274c.04.024.123.058.348.079.235.021.546.022 1.027.022.481 0 .792 0 1.027-.022.225-.02.307-.055.348-.079a.75.75 0 0 0 .275-.274c.023-.04.058-.123.078-.348.021-.235.022-.546.022-1.027 0-.481 0-.792-.022-1.027-.02-.225-.055-.307-.078-.348a.75.75 0 0 0-.275-.274c-.04-.024-.123-.059-.348-.079A12.774 12.774 0 0 0 4.5 15.75Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M11.968 14.25c-.44 0-.82 0-1.13.028-.33.03-.656.096-.963.273a2.25 2.25 0 0 0-.824.824c-.177.307-.243.633-.273.962-.028.312-.028.691-.028 1.13v.065c0 .44 0 .82.028 1.13.03.33.096.656.273.963.198.342.482.626.824.824.307.177.633.243.962.273.312.028.69.028 1.13.028h.065c.44 0 .82 0 1.13-.028.33-.03.656-.096.963-.273.342-.198.626-.482.824-.824.177-.307.243-.633.273-.962.028-.312.028-.69.028-1.13v-.065c0-.44 0-.82-.028-1.13-.03-.33-.096-.656-.273-.963a2.251 2.251 0 0 0-.824-.824c-.307-.177-.633-.243-.962-.273-.312-.028-.691-.028-1.13-.028h-.065Zm-1.343 1.6c.04-.023.123-.057.348-.078.235-.021.546-.022 1.027-.022.481 0 .792 0 1.027.022.225.02.307.055.348.079a.75.75 0 0 1 .274.274c.024.04.059.123.079.348.021.235.022.546.022 1.027 0 .481 0 .792-.022 1.027-.02.225-.055.307-.079.348a.75.75 0 0 1-.274.274c-.04.024-.123.058-.348.079-.235.021-.546.022-1.027.022-.481 0-.792 0-1.027-.022-.225-.02-.307-.055-.348-.079a.75.75 0 0 1-.274-.274c-.024-.04-.059-.123-.079-.348a12.776 12.776 0 0 1-.022-1.027c0-.481 0-.792.022-1.027.02-.225.055-.307.079-.348a.75.75 0 0 1 .274-.274ZM19.468 14.25h.064c.44 0 .82 0 1.13.028.33.03.656.096.963.273.342.198.626.482.824.824.177.307.243.633.273.962.028.312.028.69.028 1.13v.065c0 .44 0 .82-.028 1.13-.03.33-.096.656-.273.963a2.251 2.251 0 0 1-.824.824c-.307.177-.633.243-.962.273-.312.028-.69.028-1.13.028h-.065c-.44 0-.82 0-1.13-.028-.33-.03-.656-.096-.963-.273a2.251 2.251 0 0 1-.824-.824c-.177-.307-.243-.633-.273-.962-.028-.312-.028-.691-.028-1.13v-.065c0-.44 0-.82.028-1.13.03-.33.096-.656.273-.963.198-.342.482-.626.824-.824.307-.177.633-.243.962-.273.312-.028.691-.028 1.13-.028Zm-.995 1.522c-.225.02-.307.055-.348.079a.75.75 0 0 0-.274.274c-.024.04-.058.123-.079.348-.021.235-.022.546-.022 1.027 0 .481 0 .792.022 1.027.02.225.055.307.079.348a.75.75 0 0 0 .274.274c.04.024.123.058.348.079.235.021.546.022 1.027.022.481 0 .792 0 1.027-.022.225-.02.307-.055.348-.079a.75.75 0 0 0 .274-.274c.024-.04.058-.123.079-.348.021-.235.022-.546.022-1.027 0-.481 0-.792-.022-1.027-.02-.225-.055-.307-.079-.348a.75.75 0 0 0-.274-.274c-.04-.024-.123-.059-.348-.079a12.776 12.776 0 0 0-1.027-.022c-.481 0-.792 0-1.027.022Z" fill="currentColor" /></svg>, Bold: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M9.446 3.25c-1.133 0-2.058 0-2.79.098-.763.103-1.425.325-1.954.854-.529.529-.751 1.19-.854 1.955-.098.73-.098 1.656-.098 2.79v6.06c-.465.013-.76.056-1 .194a1.5 1.5 0 0 0-.549.549C2 16.098 2 16.565 2 17.5s0 1.402.201 1.75a1.5 1.5 0 0 0 .549.549C3.098 20 3.565 20 4.5 20s1.402 0 1.75-.201a1.5 1.5 0 0 0 .549-.549C7 18.902 7 18.435 7 17.5s0-1.402-.201-1.75a1.5 1.5 0 0 0-.549-.549c-.24-.138-.535-.181-1-.195V9c0-1.2.002-2.024.085-2.643.08-.598.224-.89.428-1.094.203-.204.496-.348 1.094-.428C7.476 4.752 8.3 4.75 9.5 4.75h5c1.2 0 2.024.002 2.643.085.598.08.89.224 1.094.428.204.203.348.496.428 1.094.083.619.085 1.443.085 2.643v1.19l-.72-.72a.75.75 0 1 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l2-2a.75.75 0 1 0-1.06-1.06l-.72.72V8.945c0-1.133 0-2.058-.098-2.79-.103-.763-.325-1.425-.854-1.954-.529-.529-1.19-.751-1.955-.854-.73-.098-1.656-.098-2.79-.098H9.447Z" fill="currentColor" /><path d="M9.701 15.75c-.201.348-.201.815-.201 1.75s0 1.402.201 1.75a1.5 1.5 0 0 0 .549.549c.348.201.815.201 1.75.201s1.402 0 1.75-.201a1.5 1.5 0 0 0 .549-.549c.201-.348.201-.815.201-1.75s0-1.402-.201-1.75a1.5 1.5 0 0 0-.549-.549C13.402 15 12.935 15 12 15s-1.402 0-1.75.201a1.5 1.5 0 0 0-.549.549ZM17 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C18.098 15 18.565 15 19.5 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549c.201.348.201.815.201 1.75s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549c-.348.201-.815.201-1.75.201s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549C17 18.902 17 18.435 17 17.5Z" fill="currentColor" /></svg>, BoldDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path opacity={0.5} d="M9.5 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C10.598 15 11.065 15 12 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549c.201.348.201.815.201 1.75s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549C13.402 20 12.935 20 12 20s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549c-.201-.348-.201-.815-.201-1.75Z" fill="currentColor" /><path opacity={0.7} d="M17 17.5c0-.935 0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C18.098 15 18.565 15 19.5 15s1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549c.201.348.201.815.201 1.75s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549c-.348.201-.815.201-1.75.201s-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549C17 18.902 17 18.435 17 17.5Z" fill="currentColor" /><path d="M9.446 3.25c-1.133 0-2.058 0-2.79.098-.763.103-1.425.325-1.954.854-.529.529-.751 1.19-.854 1.955-.098.73-.098 1.656-.098 2.79v6.059c-.465.014-.76.057-1 .195a1.5 1.5 0 0 0-.549.549C2 16.098 2 16.565 2 17.5s0 1.402.201 1.75a1.5 1.5 0 0 0 .549.549C3.098 20 3.565 20 4.5 20s1.402 0 1.75-.201a1.5 1.5 0 0 0 .549-.549C7 18.902 7 18.435 7 17.5s0-1.402-.201-1.75a1.5 1.5 0 0 0-.549-.549c-.24-.138-.535-.181-1-.195V9c0-1.2.002-2.024.085-2.643.08-.598.224-.89.428-1.094.203-.204.496-.348 1.094-.428C7.476 4.752 8.3 4.75 9.5 4.75h5c1.2 0 2.024.002 2.643.085.598.08.89.224 1.094.428.204.203.348.496.428 1.094.083.619.085 1.443.085 2.643v1.19l-.72-.72a.75.75 0 1 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l2-2a.75.75 0 1 0-1.06-1.06l-.72.72V8.945c0-1.133 0-2.058-.098-2.79-.103-.763-.325-1.425-.854-1.954-.529-.529-1.19-.751-1.955-.854-.73-.098-1.656-.098-2.79-.098H9.447Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Rearrange