Skip to content

Commit

Permalink
updated image demo
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrogenous committed Nov 24, 2023
1 parent 278673a commit fce7013
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/doc/image/templatedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { DocSectionText } from '@/components/doc/common/docsectiontext';
import { Image } from '@/components/lib/image/Image';

export function TemplateDoc(props) {
const icon = <i className="pi pi-check"></i>;
const icon = <i className="pi pi-search"></i>;

const code = {
basic: `
Expand All @@ -14,7 +14,7 @@ import React from 'react';
import { Image } from 'primereact/image';
export default function TemplateDemo() {
const icon = (<i className="pi pi-check"></i>)
const icon = (<i className="pi pi-search"></i>)
return (
<div className="card flex justify-content-center">
Expand All @@ -28,7 +28,7 @@ import React from 'react';
import { Image } from 'primereact/image';
export default function TemplateDemo() {
const icon = (<i className="pi pi-check"></i>)
const icon = (<i className="pi pi-search"></i>)
return (
<div className="card flex justify-content-center">
Expand Down

0 comments on commit fce7013

Please sign in to comment.