moralis-ui
Advanced tools
Comparing version 0.0.25 to 0.0.26
@@ -13,3 +13,5 @@ import type { Meta, StoryObj } from '@storybook/react'; | ||
export declare const HasError: Story; | ||
export declare const SlotsBefore: Story; | ||
export declare const SlotsAfter: Story; | ||
export declare const Empty: Story; | ||
//# sourceMappingURL=Input.stories.d.ts.map |
@@ -100,10 +100,15 @@ import { ReactNode } from 'react'; | ||
/** | ||
* any elements to be rendered before the input | ||
* any elements to be rendered before or after the input | ||
*/ | ||
prefix?: ReactNode; | ||
/** | ||
* any elements to be rendered after the input | ||
*/ | ||
suffix?: ReactNode; | ||
slots?: { | ||
/** | ||
* any elements to be rendered before the input | ||
*/ | ||
before?: ReactNode; | ||
/** | ||
* any elements to be rendered after the input | ||
*/ | ||
after?: ReactNode; | ||
}; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "moralis-ui", | ||
"version": "0.0.25", | ||
"version": "0.0.26", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "husky": { |
@@ -1,27 +0,12 @@ | ||
# React + TypeScript + Vite | ||
# Moralis User Interface Kit: mui-kit | ||
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. | ||
This kit is intended for internal use only but will be open sourced in the near future | ||
Currently, two official plugins are available: | ||
### Expect breaking changes if you are using this before v1 | ||
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh | ||
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh | ||
## Handy Links | ||
## Expanding the ESLint configuration | ||
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: | ||
- Configure the top-level `parserOptions` property like this: | ||
```js | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
project: ['./tsconfig.json', './tsconfig.node.json'], | ||
tsconfigRootDir: __dirname, | ||
}, | ||
``` | ||
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` | ||
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked` | ||
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list | ||
- Learn more about [Moralis Web3](https://moralis.io/) | ||
- Moralis Web3 [API / SDK Documentation](https://docs.moralis.io/) | ||
- Follow [Moralis on Twitter / X](https://twitter.com/MoralisWeb3) | ||
- [Continue your career](https://talent.moralis.io/) with Moralis Web3 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2019348
213
11861
13