Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yiszza committed Jan 22, 2023
1 parent c2b32a6 commit a9ecbbd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
13 changes: 8 additions & 5 deletions README.md
@@ -1,17 +1,17 @@

# Material.Components.Maui
[![version](https://img.shields.io/nuget/vpre/Material.Components.Maui?style=for-the-badge)](https://www.nuget.org/packages/Material.Components.Maui/0.1.0-beta)
[![downloads](https://img.shields.io/nuget/dt/Material.Components.Maui?style=for-the-badge)](https://www.nuget.org/packages/Material.Components.Maui/0.1.0-beta)

English | [中文](README_zh.md)

Material You Components for .NET MAUI

![](assets/preview.png)



## Getting Started

- Clone this repo and ref it to your maui project
- Add UseMaterialComponents in your "MauiProgram.cs"
- Add UseMaterialComponents in MauiProgram.cs

```C#
using Material.Components.Maui.Extensions;
Expand Down Expand Up @@ -39,7 +39,7 @@ public static class MauiProgram
}
```

- Add Material colors&styles in your "App.xaml"
- Add Material colors & styles in App.xaml

```xaml
<?xml version="1.0" encoding="UTF-8" ?>
Expand Down Expand Up @@ -90,8 +90,11 @@ public static class MauiProgram
| SplitView | 😄 | 😄 |😭|
| Switch | 😄 | 😄 |🤔|
| Tabs | 😄 | 😄 |😭|
| TextField | 😄 | 😄 |😭|
| WrapLayout | 😄 | 😄 |🤔|



## Contributing

Plan on contributing to the repository? We're glad to have you
Expand Down
10 changes: 5 additions & 5 deletions README_zh.md
@@ -1,17 +1,16 @@
# Material.Components.Maui
[![version](https://img.shields.io/nuget/vpre/Material.Components.Maui?style=for-the-badge)](https://www.nuget.org/packages/Material.Components.Maui/0.1.0-beta)
[![downloads](https://img.shields.io/nuget/dt/Material.Components.Maui?style=for-the-badge)](https://www.nuget.org/packages/Material.Components.Maui/0.1.0-beta)

中文 | [English](README.md)

Material You Components for .NET MAUI

![](assets/preview.png)



## 快速开始

- 克隆这个仓库, 以及在你的maui项目中引用
- 在你的"MauiProgram.cs"添加 UseMaterialComponents
- 在 MauiProgram.cs 添加 UseMaterialComponents

```C#
using Material.Components.Maui.Extensions;
Expand Down Expand Up @@ -39,7 +38,7 @@ public static class MauiProgram
}
```

- 在你的"App.xaml"添加 Material的颜色和风格
- 在App.xaml 添加 Material的颜色和风格

```xaml
<?xml version="1.0" encoding="UTF-8" ?>
Expand Down Expand Up @@ -90,6 +89,7 @@ public static class MauiProgram
| SplitView | 😄 | 😄 |😭|
| Switch | 😄 | 😄 |🤔|
| Tabs | 😄 | 😄 |😭|
| TextField | 😄 | 😄 |😭|
| WrapLayout | 😄 | 😄 |🤔|

## 贡献
Expand Down

0 comments on commit a9ecbbd

Please sign in to comment.