Add project banners & SteppedSpan test

This commit is contained in:
Xevion
2022-12-21 14:54:50 -06:00
parent 0e98916df0
commit b5a5b40678
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import {FunctionComponent} from "react";
type SteppedSpanProps = {
children: string;
}
const SteppedSpan: FunctionComponent<SteppedSpanProps> = ({children}: SteppedSpanProps) => {
return <div className="stepped">
{children.split('').map((char: string) => {
return <span>
{char}
</span>
})}
</div>
}
export default SteppedSpan;