Explorar el Código

make skelton property optional

yuken hace 3 años
padre
commit
e584908681
Se han modificado 1 ficheros con 2 adiciones y 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
 }