1.0.3 • Published 2 years ago

@anctech/grid v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@anctech/grid

Usage

<AnctechRow vAlign='start' hAlign={{xs: 'start', md: 'center', lg: 'end'}} colsPerRow={{xs: 3, md: 4, lg: 5}}>
  <AnctechCols colSize={3} selfAlign='start' offset={{xs: 3, lg: 6}}>
    {other contents}
  </AnctechCols>
</AnctechRow>

Props

colsPerRow (optional)

Type: object Description: colsPerRow sets many column displaying on each row for different screen size.

hAlign (optional)

Type: object Description: hAlign sets horizontal alignment for different screen size.

vAlign (optional)

Type: 'start' | 'center' | 'end' Description: vAlign sets vertical alginment.

colSize (optional)

Type: number | object Description: colSize sets size for each column for different screen size.

selfAlign (optional)

Type: 'start' | 'center' | 'end' Description: selfAlign sets vertical alignment for signle column.

offset (optional)

Type: object Description: offset sets offest for a column.

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago