diff --git a/src/components/RadioButton/Radio1/index.js b/src/components/RadioButton/Radio1/index.js new file mode 100644 index 0000000..7406192 --- /dev/null +++ b/src/components/RadioButton/Radio1/index.js @@ -0,0 +1,16 @@ +// it has style inside index.scss ---> // Start Radio1 Component && end Radio1 Component + +import React from "react"; + +export default function Radio1(props) { + return ( +
+
+ + +
+
+ ); +} diff --git a/src/components/RadioButton/index.js b/src/components/RadioButton/index.js new file mode 100644 index 0000000..a5a51d3 --- /dev/null +++ b/src/components/RadioButton/index.js @@ -0,0 +1,25 @@ +import React, { useState } from "react"; + +import Design1 from "./Design1"; + +function Advertisements() { + const list = { + 1: , + }; + const [type, setType] = useState(1); + return ( +
+ + {list[type]} +
+ ); +} + +export default Advertisements;