0.1.2 • Published 7 months ago

@raster-app/raster-toolkit v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Raster Toolkit

A toolkit for integrating Raster functionality into React applications.

Installation

npm install @raster-app/raster-toolkit

Required Peer Dependencies

This package requires the following peer dependencies:

npm install react@^19 react-dom@^19 use-sync-external-store immer

Features

  • Image browsing, selection, and preview
  • Video support for media files
  • Library selection and browsing
  • Responsive layout with infinite scrolling
  • Version management for images and videos

Usage

import React from 'react'
import { RasterImages } from '@raster-app/raster-toolkit'

const HomePage = () => {
  const config = {
    orgID: 'your-org-id',
    apiKey: 'your-api-key',
  }

  return (
    <div>
      <h1>Welcome to My Next.js App</h1>
      <RasterImages config={config} initialValue={initialValue} />
    </div>
  )
}

export default HomePage

Media Support

Images

Standard image files are supported and will display their dimensions.

Videos

Video files are supported and can be played inline.

0.0.10

8 months ago

0.0.11

8 months ago

0.1.0

8 months ago

0.1.2

7 months ago

0.0.3

11 months ago

0.1.1

8 months ago

0.0.2

1 year ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.5

9 months ago

0.0.4

11 months ago

0.0.7

8 months ago

0.0.6

9 months ago

0.0.1

1 year ago