@atex/ace-ventura
v0.1.0
Published
Sharable components targeting Ace powered next-web apps.
Downloads
5
Readme
Ace Ventura
This is a collection of reusable react components and code that we are using for different ace-starterkit next-web projects.
installation for usage
$ yarn add ace-ventura
import { escaper, Image } from 'ace-ventura'
function MyImage({ altText }) {
const alt = escaper(altText)
return <Image alt={alt} width=250 src='https://picsum.photos/seed/400/300' />
}
Develop
Clone this repository.
$ yarn
$ yarn storybook
$ yarn test
Local development with next-web
To test the current development in this project against an existing next-web project
you may use a tool called yalc
.
First install yalc
$ yarn global add yalc
First in this project:
$ yacl publish
Then in next-web project:
$ yacl link ace-ventura