Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added image service component #211

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

stephenwf
Copy link
Member

Adds new component for single image services:

import { ImageService } from 'react-iiif-vault';

function App() {
  return (
    <div style={{ width: 500, position: 'relative' }}>
      <ImageService src="https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/info.json"
      />
    </div>
  );
} 

Copy link

netlify bot commented Sep 30, 2024

Deploy Preview for react-iiif-vault-demo ready!

Name Link
🔨 Latest commit 0ef44e9
🔍 Latest deploy log https://app.netlify.com/sites/react-iiif-vault-demo/deploys/66fdb27ca3f3900008821693
😎 Deploy Preview https://deploy-preview-211--react-iiif-vault-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codesandbox-ci bot commented Sep 30, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@stephenwf
Copy link
Member Author

@funkydunc Example is found in demo.tsx and a preview here at the bottom:
https://deploy-preview-211--react-iiif-vault-demo.netlify.app/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants