Skip to content

Commit

Permalink
test account
Browse files Browse the repository at this point in the history
  • Loading branch information
ANKUR DWIVEDI authored and ANKUR DWIVEDI committed Jun 10, 2024
1 parent 0b30679 commit 121808e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test-app/src/App.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//@ts-nocheck
import React, { useState, useRef } from 'react';
import './App.css';
import { IKImage, IKContext, IKUpload, IKVideo } from 'imagekitio-react'
Expand Down Expand Up @@ -93,7 +94,7 @@ function App() {

<p>Directly using <code>IkImage</code></p>
<IKImage urlEndpoint={urlEndpoint} src={src} />

<h1>{src}</h1>
<p>Dynamic transformation update directly using IKImage</p>
<IKImage
publicKey={publicKey}
Expand Down Expand Up @@ -214,10 +215,10 @@ function App() {
{reftest && <button onClick={() => reftest.current.click()}>Upload</button>}

<p>Your above uploaded file will appear here </p>
<IKImage urlEndpoint={urlEndpoint} src={uploadedImageSource} className="uploaded-img-ik" transformation={[{
{uploadedImageSource &&<IKImage urlEndpoint={urlEndpoint} src={uploadedImageSource} className="uploaded-img-ik" transformation={[{
"height": "200",
"width": "200",
}]} />
}]} />}


<p>Upload invalid file</p>
Expand Down

0 comments on commit 121808e

Please sign in to comment.