diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-01-16 11:40:36 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-01-16 11:40:36 +0100 |
commit | d2c2cc62a4c2e1ac10f8434bea7bb834da820869 (patch) | |
tree | d8d0ed49957d1103a0fd79d4bb2928d7e1b5846e /src/components/voerBord.tsx | |
parent | be52cd3265f93b09fc400ecaa58cde0a93ed41e6 (diff) |
semi working next project
Diffstat (limited to 'src/components/voerBord.tsx')
-rw-r--r-- | src/components/voerBord.tsx | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/components/voerBord.tsx b/src/components/voerBord.tsx deleted file mode 100644 index 3e319a1..0000000 --- a/src/components/voerBord.tsx +++ /dev/null @@ -1,39 +0,0 @@ -interface VoerBordProps { - width: number; - height: number; -} - -export function VoerBord(props: VoerBordProps) { - return <table style={{ - borderSpacing: 8, - width: "100%" - }}> - <tbody> - { - [...Array(props.height)].map(() => ( - <tr> - {[...Array(props.width)].map(() => ( - <td style={{ - position: "relative", - width: "100%", - padding: 0 - }}> - <div style={{ - display: "block", - marginTop: "100%" - }}/> - <div style={{ - position: "absolute", - top: 0, left: 0, right: 0, bottom: 0, - borderRadius: 6, - border: "2px solid var(--background-alt)", - opacity: .5 - }}/> - </td> - ))} - </tr> - )) - } - </tbody> - </table> -} |