0.1.1 • Published 5 years ago

@cw-ui/highlightbox v0.1.1

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
5 years ago

@cw-ui/align

This package can change any time. Please only use if you are the ETC.Digital team.

Introdução

O componente de alinhamento auxilia na organização de elementos na tela.

Exemplo

import { ContainerAlign, LeftSide, RightSide } from "@cw-ui/align"

const AlignExample: FC = () => {
  return <ContainerAlign>
    <LeftSide>
      Estou no lado esquerdo
    </LeftSide>
    <RightSide>
      Estou no lado direito
    </RightSide>
  </ContainerAlign>
}

API

requerido

children: O componente de alinhamento precisa englobar um outro componente.