import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Checklist = (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.583 5.028a.75.75 0 1 0-1.166.944l1.166-.944ZM3.214 7l-.583.472a.75.75 0 0 0 1.095.076L3.214 7Zm4.798-3.452a.75.75 0 1 0-1.024-1.096l1.024 1.096ZM1.417 5.972l1.214 1.5 1.166-.944-1.214-1.5-1.166.944Zm2.309 1.576 4.286-4-1.024-1.096-4.285 4 1.023 1.096ZM2.583 12.028a.75.75 0 1 0-1.166.944l1.166-.944ZM3.214 14l-.583.472a.75.75 0 0 0 1.095.076L3.214 14Zm4.798-3.452a.75.75 0 0 0-1.024-1.096l1.024 1.096Zm-6.595 2.424 1.214 1.5 1.166-.944-1.214-1.5-1.166.944Zm2.309 1.576 4.286-4-1.024-1.096-4.285 4 1.023 1.096ZM2.583 19.028a.75.75 0 1 0-1.166.944l1.166-.944ZM3.214 21l-.583.472a.75.75 0 0 0 1.095.076L3.214 21Zm4.798-3.452a.75.75 0 1 0-1.024-1.096l1.024 1.096Zm-6.595 2.424 1.214 1.5 1.166-.944-1.214-1.5-1.166.944Zm2.309 1.576 4.286-4-1.024-1.096-4.285 4 1.023 1.096Z" fill="currentColor" /><path d="M22 12h-5m-5 0h1.5M12 19h5m3.5 0H22M22 5H12" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></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.583 5.028a.75.75 0 1 0-1.166.944l1.166-.944ZM3.214 7l-.583.472a.75.75 0 0 0 1.095.076L3.214 7Zm4.798-3.452a.75.75 0 1 0-1.024-1.096l1.024 1.096ZM1.417 5.972l1.214 1.5 1.166-.944-1.214-1.5-1.166.944Zm2.309 1.576 4.286-4-1.024-1.096-4.285 4 1.023 1.096Z" fill="currentColor" /><path opacity={0.5} d="M2.583 12.028a.75.75 0 1 0-1.166.944l1.166-.944ZM3.214 14l-.583.472a.75.75 0 0 0 1.095.076L3.214 14Zm4.798-3.452a.75.75 0 0 0-1.024-1.096l1.024 1.096Zm-6.595 2.424 1.214 1.5 1.166-.944-1.214-1.5-1.166.944Zm2.309 1.576 4.286-4-1.024-1.096-4.285 4 1.023 1.096Z" fill="currentColor" /><path d="M2.583 19.028a.75.75 0 1 0-1.166.944l1.166-.944ZM3.214 21l-.583.472a.75.75 0 0 0 1.095.076L3.214 21Zm4.798-3.452a.75.75 0 1 0-1.024-1.096l1.024 1.096Zm-6.595 2.424 1.214 1.5 1.166-.944-1.214-1.5-1.166.944Zm2.309 1.576 4.286-4-1.024-1.096-4.285 4 1.023 1.096Z" fill="currentColor" /><path d="M22 19H12" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path opacity={0.5} d="M22 12H12" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M22 5H12" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></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.583 5.028a.75.75 0 1 0-1.166.944l1.166-.944ZM3.214 7l-.583.472a.75.75 0 0 0 1.095.076L3.214 7Zm4.798-3.452a.75.75 0 1 0-1.024-1.096l1.024 1.096ZM1.417 5.972l1.214 1.5 1.166-.944-1.214-1.5-1.166.944Zm2.309 1.576 4.286-4-1.024-1.096-4.285 4 1.023 1.096ZM2.583 12.028a.75.75 0 1 0-1.166.944l1.166-.944ZM3.214 14l-.583.472a.75.75 0 0 0 1.095.076L3.214 14Zm4.798-3.452a.75.75 0 0 0-1.024-1.096l1.024 1.096Zm-6.595 2.424 1.214 1.5 1.166-.944-1.214-1.5-1.166.944Zm2.309 1.576 4.286-4-1.024-1.096-4.285 4 1.023 1.096ZM2.583 19.028a.75.75 0 1 0-1.166.944l1.166-.944ZM3.214 21l-.583.472a.75.75 0 0 0 1.095.076L3.214 21Zm4.798-3.452a.75.75 0 1 0-1.024-1.096l1.024 1.096Zm-6.595 2.424 1.214 1.5 1.166-.944-1.214-1.5-1.166.944Zm2.309 1.576 4.286-4-1.024-1.096-4.285 4 1.023 1.096Z" fill="currentColor" /><path d="M22 19H12M22 12H12M22 5H12" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></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="M8.048 2.488a.75.75 0 0 1-.036 1.06l-4.286 4a.75.75 0 0 1-1.095-.076l-1.214-1.5a.75.75 0 0 1 1.166-.944l.708.875 3.697-3.451a.75.75 0 0 1 1.06.036ZM11.25 5a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75ZM8.048 9.488a.75.75 0 0 1-.036 1.06l-4.286 4a.75.75 0 0 1-1.095-.076l-1.214-1.5a.75.75 0 1 1 1.166-.944l.708.875 3.697-3.451a.75.75 0 0 1 1.06.036ZM11.25 12a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75Zm-3.202 4.488a.75.75 0 0 1-.036 1.06l-4.286 4a.75.75 0 0 1-1.095-.076l-1.214-1.5a.75.75 0 1 1 1.166-.944l.708.875 3.697-3.451a.75.75 0 0 1 1.06.036ZM11.25 19a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75Z" 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 fillRule="evenodd" clipRule="evenodd" d="M8.048 2.488a.75.75 0 0 1-.036 1.06l-4.286 4a.75.75 0 0 1-1.095-.076l-1.214-1.5a.75.75 0 0 1 1.166-.944l.708.875 3.697-3.451a.75.75 0 0 1 1.06.036ZM11.25 5a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75ZM8.048 9.488a.75.75 0 0 1-.036 1.06l-4.286 4a.75.75 0 0 1-1.095-.076l-1.214-1.5a.75.75 0 1 1 1.166-.944l.708.875 3.697-3.451a.75.75 0 0 1 1.06.036ZM11.25 12a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75Zm-3.202 4.488a.75.75 0 0 1-.036 1.06l-4.286 4a.75.75 0 0 1-1.095-.076l-1.214-1.5a.75.75 0 1 1 1.166-.944l.708.875 3.697-3.451a.75.75 0 0 1 1.06.036ZM11.25 19a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75Z" 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 fillRule="evenodd" clipRule="evenodd" d="M8.048 2.488a.75.75 0 0 1-.036 1.06l-4.286 4a.75.75 0 0 1-1.095-.076l-1.214-1.5a.75.75 0 0 1 1.166-.944l.708.875 3.697-3.451a.75.75 0 0 1 1.06.036ZM11.25 5a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75ZM8.048 16.488a.75.75 0 0 1-.036 1.06l-4.286 4a.75.75 0 0 1-1.095-.076l-1.214-1.5a.75.75 0 1 1 1.166-.944l.708.875 3.697-3.451a.75.75 0 0 1 1.06.036ZM11.25 19a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75Z" fill="currentColor" /><g opacity={0.5} fill="currentColor"><path d="M8.048 9.488a.75.75 0 0 1-.036 1.06l-4.286 4a.75.75 0 0 1-1.095-.076l-1.214-1.5a.75.75 0 1 1 1.166-.944l.708.875 3.697-3.451a.75.75 0 0 1 1.06.036ZM11.25 12a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75Z" /></g></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Checklist