@moneyforward/mfui-icons-react
v3.1.0
Published
React Icon Component Library for all Money Forward products
Keywords
Readme
MFUI React Icons
React components for icons.
Installation
1. Run the Installation Command
Run the following command to install the package:
npm install @moneyforward/mfui-icons-react2. (Only Vite with SSR user) Add libraries to the noExternal dependencies
If you're using Vite with Server Side Rendering feature, this step is required.
Please add @moneyforward/mfui-icons-react to ssr.noExternal in your vite.config.ts.
export default defineConfig({
// Other configurations
ssr: {
noExternal: [
"@moneyforward/mfui-icons-react",
],
},
});Usage
import Add from '@moneyforward/mfui-icons-react/Add';
// You can also import named exports from the root directory.
// import { Add } from '@moneyforward/mfui-icons-react';
const Component = () => {
return <Add />;
};All company names, product and service names, and logos are trademarks or registered trademarks of their respective owners.
