hunk.code_window: 							.join(THUMBNAIL_CACHE_DIR_NAME)
   							.join(&object.cas_id)
   							.with_extension("webp");
   						object.has_thumbnail = thumb_path.exists();
   						ExplorerItem::Object(Box::new(object))
   					})
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit: 						object.has_thumbnail = thumb_path.try_exists().unwrap();
  
hunk.file_path: core/src/api/tags.rs
hunk.type: replace
file: import folderWhiteSvg from '@sd/assets/svgs/folder-white.svg';
  import folderSvg from '@sd/assets/svgs/folder.svg';
  
  interface FolderProps {
  	/**
  	 * Append additional classes to the underlying SVG
  	 */
  	className?: string;
  
  	/**
  	 * Render a white folder icon
  	 */
  	white?: boolean;
  
  	/**
  	 * The size of the icon to show -- uniform width and height
  	 */
  	size?: number;
  }
  
  export function Folder(props: FolderProps) {
  	const { size = 24 } = props;
  
  	return (
  		<img
  			className={props.className}
  			width={size}
  			height={size}
  			src={props.white ? folderWhiteSvg : folderSvg}
  			alt="Folder icon"
  		/>
  	);
  }
  