mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore(Empty): use tsx
This commit is contained in:
parent
aaec78d54d
commit
0b9a6973d0
@ -1,9 +1,9 @@
|
||||
const renderStop = (color, offset, opacity) => (
|
||||
const renderStop = (color: string, offset: number, opacity?: number) => (
|
||||
<stop stop-color={color} offset={`${offset}%`} stop-opacity={opacity} />
|
||||
);
|
||||
|
||||
export const Network = (
|
||||
<svg viewBox="0 0 160 160" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg viewBox="0 0 160 160">
|
||||
<defs>
|
||||
<linearGradient id="c" x1="64.022%" y1="100%" x2="64.022%" y2="0%">
|
||||
{renderStop('#FFF', 0, 0.5)}
|
Loading…
x
Reference in New Issue
Block a user