Explorar o código

make skelton property optional

yuken %!s(int64=3) %!d(string=hai) anos
pai
achega
e584908681
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/app/src/components/Skelton.tsx

+ 2 - 2
packages/app/src/components/Skelton.tsx

@@ -3,8 +3,8 @@ import React from 'react';
 import styles from './Skelton.module.scss';
 
 type SkeltonProps = {
-  width: number,
-  height: number,
+  width?: number,
+  height?: number,
   additionalClass?: string
 }