forked from jdf2e/nutui-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(icon): demo拆解与规范 * fix(Icon): taro引入 * fix: script extract problems
- Loading branch information
1 parent
f850764
commit 4d61f5c
Showing
17 changed files
with
237 additions
and
404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from 'react' | ||
import { Add, Dongdong, UserAdd } from '@nutui/icons-react' | ||
|
||
const Demo1 = () => { | ||
return ( | ||
<> | ||
<Add color="red" /> | ||
<UserAdd /> | ||
<Dongdong /> | ||
</> | ||
) | ||
} | ||
export default Demo1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from 'react' | ||
import { IconFont } from '@nutui/icons-react' | ||
|
||
const Demo2 = () => { | ||
return ( | ||
<> | ||
<IconFont name="dongdong" /> | ||
<IconFont name="add" /> | ||
<IconFont name="minus" /> | ||
</> | ||
) | ||
} | ||
export default Demo2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react' | ||
import { IconFont } from '@nutui/icons-react' | ||
|
||
const Demo3 = () => { | ||
return ( | ||
<> | ||
<IconFont | ||
size="40" | ||
name="https://img11.360buyimg.com/imagetools/jfs/t1/137646/13/7132/1648/5f4c748bE43da8ddd/a3f06d51dcae7b60.png" | ||
/> | ||
</> | ||
) | ||
} | ||
export default Demo3 |
Oops, something went wrong.