square.d.ts 360 B

12345678910111213
  1. import { IconifyIcon } from '@iconify/types';
  2. import { SVGViewBox } from '../svg/viewbox.js';
  3. /**
  4. * Make icon square
  5. */
  6. declare function makeIconSquare(icon: Required<IconifyIcon>): Required<IconifyIcon>;
  7. /**
  8. * Make icon viewBox square
  9. */
  10. declare function makeViewBoxSquare(viewBox: SVGViewBox): SVGViewBox;
  11. export { makeIconSquare, makeViewBoxSquare };