Skip to content

Commit

Permalink
chore: add icon demo for wx or taro h5
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud committed Dec 13, 2024
1 parent d8b0a0c commit e7b36cf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/packages/icon/demos/taro/demo2.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react'
import { Cell } from '@nutui/nutui-react-taro'
import { IconFont } from '@nutui/icons-react-taro'

const Demo2 = () => {
return (
<Cell>
<IconFont name="dongdong" style={{ marginRight: '10px' }} />
<IconFont name="add" style={{ marginRight: '10px' }} />
<IconFont name="minus" />
</Cell>
)
}
export default Demo2

0 comments on commit e7b36cf

Please sign in to comment.