diff --git a/docs/app/docs/components/accordion/docs/codeUsage.js b/docs/app/docs/components/accordion/docs/codeUsage.js index f96552b0..fe738e97 100644 --- a/docs/app/docs/components/accordion/docs/codeUsage.js +++ b/docs/app/docs/components/accordion/docs/codeUsage.js @@ -1,31 +1,28 @@ const code = { javascript: { - code: `import Accordion from "@radui/ui/Accordion" + code: ` +import Accordion from "@radui/ui/Accordion"; -const AccordionExample = () => { let items = [ - { - title: "React", - content: "React is a JavaScript library for building user interfaces." - }, - { - title: "Angular", - content: "Angular is a platform and framework for building single-page client applications using HTML and TypeScript." - }, - { - title: "Vue", - content: "Vue.js is a progressive framework for building user interfaces." - }, - - + { + title: "React", + content: "React is a JavaScript library for building user interfaces." + }, + { + title: "Angular", + content: "Angular is a platform and framework for building single-page client applications using HTML and TypeScript." + }, + { + title: "Vue", + content: "Vue.js is a progressive framework for building user interfaces." + } ] -return
- {code}
-
- );
+ return (
+
+ {code}
+
+ );
};
export default CodeBlock;
diff --git a/docs/icons/Disc.js b/docs/icons/Disc.js
index c2f40bec..2f87b05a 100644
--- a/docs/icons/Disc.js
+++ b/docs/icons/Disc.js
@@ -1,5 +1,5 @@
const Disc = () => {
- return
-}
+ return ;
+};
-export default Disc
\ No newline at end of file
+export default Disc;
diff --git a/docs/icons/Home.js b/docs/icons/Home.js
index dbf3c98f..fce2b85a 100644
--- a/docs/icons/Home.js
+++ b/docs/icons/Home.js
@@ -1,5 +1,5 @@
const Home = () => {
- return
-}
+ return ;
+};
-export default Home
\ No newline at end of file
+export default Home;
diff --git a/docs/icons/Play.js b/docs/icons/Play.js
index 1c9d805c..1212e7c9 100644
--- a/docs/icons/Play.js
+++ b/docs/icons/Play.js
@@ -1,5 +1,5 @@
const Play = () => {
- return
-}
+ return ;
+};
-export default Play
\ No newline at end of file
+export default Play;
diff --git a/docs/icons/RightArrow.js b/docs/icons/RightArrow.js
index 2ed6f0ab..07343863 100644
--- a/docs/icons/RightArrow.js
+++ b/docs/icons/RightArrow.js
@@ -1,5 +1,5 @@
const ArrowRight = () => {
- return
-}
+ return ;
+};
-export default ArrowRight;
\ No newline at end of file
+export default ArrowRight;
diff --git a/docs/icons/Rocket.js b/docs/icons/Rocket.js
index 548fe872..f604e1cf 100644
--- a/docs/icons/Rocket.js
+++ b/docs/icons/Rocket.js
@@ -1,5 +1,5 @@
const Rocket = () => {
- return
-}
+ return ;
+};
-export default Rocket
\ No newline at end of file
+export default Rocket;
diff --git a/docs/icons/Rows.js b/docs/icons/Rows.js
index 16afb4c8..5c30a3fe 100644
--- a/docs/icons/Rows.js
+++ b/docs/icons/Rows.js
@@ -1,6 +1,5 @@
+const Rows = () => {
+ return ;
+};
-const Rows =()=>{
- return
-}
-
-export default Rows
\ No newline at end of file
+export default Rows;
diff --git a/docs/icons/TrackNext.js b/docs/icons/TrackNext.js
index b419a15c..d836670c 100644
--- a/docs/icons/TrackNext.js
+++ b/docs/icons/TrackNext.js
@@ -1,5 +1,5 @@
-const TrackNext = ()=>{
- return
-}
+const TrackNext = () => {
+ return ;
+};
-export default TrackNext
\ No newline at end of file
+export default TrackNext;
diff --git a/docs/icons/TrackPrevious.js b/docs/icons/TrackPrevious.js
index ef9a348e..f3ca8e13 100644
--- a/docs/icons/TrackPrevious.js
+++ b/docs/icons/TrackPrevious.js
@@ -1,7 +1,7 @@
-const TrackPrevious = ()=>{
- return
-}
+const TrackPrevious = () => {
+ return ;
+};
-export default TrackPrevious
\ No newline at end of file
+export default TrackPrevious;
diff --git a/src/components/ui/Callout/stories/Callout.stories.js b/src/components/ui/Callout/stories/Callout.stories.js
index 6ce0a080..975c82b6 100644
--- a/src/components/ui/Callout/stories/Callout.stories.js
+++ b/src/components/ui/Callout/stories/Callout.stories.js
@@ -3,7 +3,7 @@ import Text from '~/components/ui/Text/Text';
import SandboxEditor from '~/components/tools/SandboxEditor/SandboxEditor';
const InfoIcon = () => {
- return ();
+ return ();
};
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
diff --git a/src/components/ui/Toggle/stories/Toggle.stories.js b/src/components/ui/Toggle/stories/Toggle.stories.js
index 33b37fb0..62fbde25 100644
--- a/src/components/ui/Toggle/stories/Toggle.stories.js
+++ b/src/components/ui/Toggle/stories/Toggle.stories.js
@@ -9,7 +9,7 @@ export default {
};
const MoveIcon = () => {
- return ;
+ return ;
};
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
diff --git a/src/components/ui/ToggleGroup/stories/ToggleGroup.stories.js b/src/components/ui/ToggleGroup/stories/ToggleGroup.stories.js
index 5ab4ef58..f1b72468 100644
--- a/src/components/ui/ToggleGroup/stories/ToggleGroup.stories.js
+++ b/src/components/ui/ToggleGroup/stories/ToggleGroup.stories.js
@@ -31,18 +31,18 @@ const Template = (args) => {
};
const FrameIcon = () => {
- return ;
+ return ;
};
const CropIcon = () => {
- return ;
+ return ;
};
const LayersIcon = () => {
- return ;
+ return ;
};
const ColumnsIcon = () => {
- return ;
+ return ;
};
// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args