Skip to content

Commit 61c1ad4

Browse files
committed
docs: add notes on SVG requirements for metallicPaint animation
1 parent 21b9495 commit 61c1ad4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/constants/code/Animations/metallicPaintCode.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export const metallicPaint = {
1212
import { useState, useEffect } from 'react';
1313
1414
// replace with your own SVG
15+
// NOTE: your SVG should have a bit of padding around the shape, to keep it from being cut off
16+
// it should also have white fill color, to allow the metallic effect to show through
1517
import logo from '../../assets/logos/react-bits-solid-white.svg';
1618
1719
const Component = () => {

0 commit comments

Comments
 (0)