Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 478 Bytes

components.md

File metadata and controls

27 lines (19 loc) · 478 Bytes

Components

This library provides some simple components.

Spinner

It's a spinner to show the "loading" status.

import Spinner from 'near-social-bridge/Spinner'

Container

This component is beneficial as it'll automatically sync the VM iframe's height according to its content height.

import Container from 'near-social-bridge/Container'

const MyPage = () => {
  return (
    <Container>
      <p>My nice content</p>
    </Container>
  )
}