We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-icons
Now it produce the code like this:
const AccessibilityCheckmarkFilledIcon = props => { const { fill: primaryFill = 'currentColor', className } = props; return React.createElement("svg", Object.assign({}, props, { width: "1em", height: "1em", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", className: className }), React.createElement("path", { d: "M10 6a2 2 0 1 0 0...", fill: primaryFill })); }; // And many many repeats...
I think we can reduce the duplicate code by using a helper function.
export const AccessibilityCheckmarkFilledIcon = createFluentIcon('AccessibilityCheckmarkFilledIcon', 20, ['M10 6a2 2 0 1 0 0...']); // And more
The lib-cjs directory also cause double size.
lib-cjs
I'll start to working for this.
The text was updated successfully, but these errors were encountered:
Work will continue in microsoft/fluentui#25989 .
Sorry, something went wrong.
No branches or pull requests
Now it produce the code like this:
I think we can reduce the duplicate code by using a helper function.
The
lib-cjs
directory also cause double size.I'll start to working for this.
react-icons
by using a helper function.The text was updated successfully, but these errors were encountered: