Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gucal committed Jan 29, 2024
1 parent 6deef31 commit 0a0320e
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions components/doc/multiselect/loadingdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { DocSectionText } from '@/components/doc/common/docsectiontext';
import { MultiSelect } from '@/components/lib/multiselect/MultiSelect';

export function LoadingDoc(props) {
const code = {
basic: `
const code = {
basic: `
<MultiSelect loading placeholder="Loading..." className="w-full md:w-20rem" />
`,
javascript: `
javascript: `
import React from "react";
import { MultiSelect } from 'primereact/multiselect';
Expand All @@ -19,7 +19,7 @@ export default function LoadingDemo() {
);
}
`,
typescript: `
typescript: `
import React from "react";
import { MultiSelect } from 'primereact/multiselect';
Expand All @@ -31,19 +31,19 @@ export default function LoadingDemo() {
);
}
`
};
};

return (
<>
<DocSectionText {...props}>
<p>
Loading state can be used <i>loading</i> property.
</p>
</DocSectionText>
<div className="card flex justify-content-center">
<MultiSelect loading placeholder="Loading..." className="w-full md:w-20rem" />
</div>
<DocSectionCode code={code} />
</>
);
return (
<>
<DocSectionText {...props}>
<p>
Loading state can be used <i>loading</i> property.
</p>
</DocSectionText>
<div className="card flex justify-content-center">
<MultiSelect loading placeholder="Loading..." className="w-full md:w-20rem" />
</div>
<DocSectionCode code={code} />
</>
);
}

0 comments on commit 0a0320e

Please sign in to comment.