Skip to content

Commit

Permalink
fix: pr修改
Browse files Browse the repository at this point in the history
  • Loading branch information
irisSong committed Dec 25, 2024
1 parent 6de6058 commit de340c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/packages/skeleton/demos/taro/demo5.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Avatar, Skeleton, Switch } from '@nutui/nutui-react-taro'
import React, { useState } from 'react'
import { View, Text } from '@tarojs/components'
import pxTransform from '@/utils/px-transform'

const Demo5 = () => {
const [checked, setChecked] = useState(false)
Expand All @@ -22,7 +21,7 @@ const Demo5 = () => {
>
<Switch
onChange={(value, event: any) => changeStatus(value, event)}
style={{ marginBottom: pxTransform(8) }}
style={{ marginBottom: 8 }}
/>
</View>
<Skeleton title animated avatar rows={3} visible={checked}>
Expand Down

0 comments on commit de340c3

Please sign in to comment.