Leaderboard

1 个变体

A podium of bars that grow to each score, laurels for the top three, your own place, and a list that glides into a new order when the period changes.

Leaderboard

页面

A podium of bars that grow to each score, laurels for the top three, your own place and a list that glides into a new order when the period changes.

添加它的 6 个文件、9 个共享的 beUI Native 文件,以及 components/beui-pro 下的主题变量,并保留文件夹结构,确保相对导入正常解析。

$ bunx --bun shadcn add @beui-pro/native-leaderboard

依赖库

使用 Expo 安装以匹配你的 SDK 版本,然后在全局 CSS 中 Tailwind 和 Uniwind 之后导入 components/beui-pro/beui/styles/theme.css。已在 Expo SDK 58 上测试。新应用?按照设置指南操作。

npx expo install react-native-reanimated react-native-svg react-native-worklets
npm install uniwind tailwindcss

源码包含在移动端和 Web + 移动端许可证中。

获取移动端