feat: import animal-island-ui snapshot

This commit is contained in:
2026-05-19 19:31:52 +08:00
commit e1065947d6
139 changed files with 14957 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
import React from 'react';
import { Time as TimeComponent } from '../../../src';
import { CodeBlock, ApiTable, ApiRow, sectionStyle, sectionTitleStyle, tagStyle, demoBodyStyle, labelStyle } from '../../tools';
const TimeDemo: React.FC = () => (
<div style={sectionStyle}>
<div style={sectionTitleStyle}>
Time <span style={tagStyle}></span>
</div>
<div style={labelStyle}>
Time HUD
</div>
<div style={demoBodyStyle}>
<TimeComponent />
</div>
<CodeBlock
code={`import React from 'react';
import { Time } from 'animal-island-ui';
const App = () => {
return (
<div>
{/* 时间显示 */}
<Time />
</div>
);
};
export default App;`}
/>
<ApiTable rows={TIME_API} />
</div>
);
const TIME_API: ApiRow[] = [
{ prop: 'className', desc: '自定义类名', type: 'string', defaultVal: '-' },
];
export default TimeDemo;