Skip to content

Commit 7f6b4ae

Browse files
committed
fix: 修改组件命名大小写
1 parent 001eff8 commit 7f6b4ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/tabbar/demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interface T {
1919
c9e6df49: string;
2020
}
2121

22-
const tabbarDemo = () => {
22+
const TabbarDemo = () => {
2323
const [translated] = useTranslate<T>({
2424
'zh-CN': {
2525
ce5c5446: '基础用法',
@@ -169,4 +169,4 @@ const tabbarDemo = () => {
169169
);
170170
};
171171

172-
export default tabbarDemo;
172+
export default TabbarDemo;

components/table/demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ interface T {
2424
sorting: string;
2525
}
2626

27-
const tableDemo = () => {
27+
const TableDemo = () => {
2828
const [translated] = useTranslate<T>({
2929
'zh-CN': {
3030
basic: '基础用法',
@@ -307,4 +307,4 @@ const tableDemo = () => {
307307
);
308308
};
309309

310-
export default tableDemo;
310+
export default TableDemo;

0 commit comments

Comments
 (0)