mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-17 02:29:10 +00:00
absolutely massive typescript porting time
This commit is contained in:
parent
01f238f515
commit
30d08a630f
159 changed files with 2563 additions and 3861 deletions
14
packages/roleypoly-ui/components/demos/tap.tsx
Normal file
14
packages/roleypoly-ui/components/demos/tap.tsx
Normal file
|
@ -0,0 +1,14 @@
|
|||
import * as React from 'react'
|
||||
import styled from 'styled-components'
|
||||
import Role from '../role/demo'
|
||||
import demoRoles from '../../config/demo'
|
||||
|
||||
const DemoWrapper = styled.div`
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
`
|
||||
|
||||
export default () => <DemoWrapper>
|
||||
{ demoRoles.map((v, i) => <Role key={i} role={v} />) }
|
||||
</DemoWrapper>
|
Loading…
Add table
Add a link
Reference in a new issue