@ankr.com/ui
v2.14.0
Published
<!-- markdownlint-disable-next-line --> <p align="center"> <a href="https://www.ankr.com/" rel="noopener" target="_blank"><img width="150" src="./logo.svg" alt="MUI logo"></a> </p>
Readme
Installation
npm:
yarn:
yarn add @ankr.com/ui @mui/material @mui/utilsAdding fonts
yarn:
yarn add @ankr.com/assetsAdd this code to your index.tsx
import '@ankr.com/assets/public/fonts/index.css';or add it by HTML
<link
rel="preconnect"
href="https://assets.ankr.com"
crossOrigin=""
/>
<link
href="https://assets.ankr.com/fonts/index.css"
rel="stylesheet"
/>Including of overrided MUI types
Add client.d.ts to your development folder (src) with content:
/// <reference types="@ankr.com/ui/client" />After that you can use custom props MUI from this package:
<Typography variant="body3" />