Peach: Local-first video metadata scraper and media manager.
import './settings-dialog-close.css';
/** 设置类弹层共用的关闭控件。 */
export function SettingsDialogClose({ label, id, onPress }: { label: string; id?: string; onPress(): void }) {
return <button type="button" id={id} data-settings-dialog-close="" aria-label={label} onClick={onPress}>
<svg aria-hidden="true" viewBox="0 0 24 24"><use href="#i-x" /></svg>
</button>;
}