Create "All-Icons-Factory" #5

Open
opened 2022-07-23 09:50:03 +00:00 by decamel · 0 comments
decamel commented 2022-07-23 09:50:03 +00:00 (Migrated from 85.143.176.51:3000)

Collect all icons inside our UI design, export them into SVG format, remove sizing on svg tag and colors also.
Create source-file which will implement our icons library by importing svgs and reexporting them.
It is possible due to our TypeScript statement defined inside types folder

declare module '*.svg' {
  import React = require('react');
  export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
  const src: string;
  export default src;
}
Collect all icons inside our UI design, export them into SVG format, remove sizing on `svg` tag and colors also. Create source-file which will implement our icons library by importing `svg`s and reexporting them. It is possible due to our TypeScript statement defined inside **types** folder ```typescript declare module '*.svg' { import React = require('react'); export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>; const src: string; export default src; } ```
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scipaper/Frontend#5
No description provided.