mirror of
https://gh.wpcy.net/https://github.com/elementor/one-click-accessibility.git
synced 2026-04-26 03:18:16 +08:00
* add: icons for menu settings * add: placeholder layout for widget preview in menu settings * update: load saved settings and updated imports * add: logics for handling and saving menu settings * add: useSavedSettings hook * update: set export as default for Sidebar layout * add: widget menu settings layout and settings * update: add widget menu settings and widget preview layouts * add: hide/show minimum option alert notification * update: styling of the save button * update: save settings logic to use async/await * fix: accessibility text icon
12 lines
1 KiB
JavaScript
12 lines
1 KiB
JavaScript
import SvgIcon from '@elementor/ui/SvgIcon';
|
|
|
|
const TextSizeIcon = (props, { size }) => {
|
|
return (
|
|
<SvgIcon viewBox="0 0 24 24" fontSize={size} {...props}>
|
|
<path d="M2.75 4C2.33579 4 2 4.33579 2 4.75V6.75C2 7.16421 2.33579 7.5 2.75 7.5C3.16421 7.5 3.5 7.16421 3.5 6.75V5.5H9V18H7.75C7.33579 18 7 18.3358 7 18.75C7 19.1642 7.33579 19.5 7.75 19.5H11.75C12.1642 19.5 12.5 19.1642 12.5 18.75C12.5 18.3358 12.1642 18 11.75 18H10.5V5.5H15V6.75C15 7.16421 15.3358 7.5 15.75 7.5C16.1642 7.5 16.5 7.16421 16.5 6.75V4.75C16.5 4.33579 16.1642 4 15.75 4H2.75Z" />
|
|
<path d="M14.75 11C14.3358 11 14 11.3358 14 11.75V12.75C14 13.1642 14.3358 13.5 14.75 13.5C15.1642 13.5 15.5 13.1642 15.5 12.75V12.5H17V18H16.75C16.3358 18 16 18.3358 16 18.75C16 19.1642 16.3358 19.5 16.75 19.5H18.75C19.1642 19.5 19.5 19.1642 19.5 18.75C19.5 18.3358 19.1642 18 18.75 18H18.5V12.5H20V12.75C20 13.1642 20.3358 13.5 20.75 13.5C21.1642 13.5 21.5 13.1642 21.5 12.75V11.75C21.5 11.3358 21.1642 11 20.75 11H14.75Z" />
|
|
</SvgIcon>
|
|
);
|
|
};
|
|
|
|
export default TextSizeIcon;
|