0.2.1 • Published 2 years ago

flexing-container v0.2.1

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

Flexing container npm npm type definitions

Installation

npm install flexing-container

How to use

You can get inspired by Example here and Storybook demo here.

import { FlexingContainer } from 'flexing-container'

const MyComponent = () => {
	// …

	return (
		<FlexingContainer
			wrap={({ children }) => <div className="box">{children}</div>}
		>
			{items[activeItemIndex]}
		</FlexingContainer>
	)
}

Don't forget to import styles from flexing-container/dist/index.css.

Development

Run npm start and npm run storybook parallelly.

0.2.1

2 years ago

0.2.0

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago