@ta-interaktiv/react-disco-grid
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

@ta-interaktiv/react-disco-grid

Containers that mimic the grid of a disco article.

Usage

import { TextWidth, ContentWidth, TextWidthExtended } from '@ta-interaktiv/react-disco-grid'

export const parentComponent = () => {
  return <>
  <ContentWidth>I am as wide as the widest element on the page</ContentWidth>
  <TextWidth>I am as wide as text</TextWidth>
  <TextWidthExtended>I am a bit wider than the text</TextWidthExtended>
  </>
}


Readme

Keywords

Package Sidebar

Install

npm i @ta-interaktiv/react-disco-grid

Weekly Downloads

77

Version

2.0.1

License

ISC

Unpacked Size

73.9 kB

Total Files

22

Last publish

Collaborators

  • s1co
  • dariush-mehdiaraghi
  • mrdz_tx
  • mathiaslutz
  • sebaa