Skip to content

Commit 0946807

Browse files
committed
developers/local-environment: Created props interface
1 parent baabcd3 commit 0946807

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

src/pages/developers/local-environment.tsx

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
// InfoBanner,
2424
} from "../../components/SharedStyledComponents"
2525
import { getImageData } from "gatsby-plugin-image"
26+
import { IGatsbyChildImageSharp } from "."
2627

2728
const StyledPage = styled(Page)`
2829
margin-top: 4rem;
@@ -375,7 +376,33 @@ const frameworksList: IFramework[] = [
375376
},
376377
]
377378

378-
const ChooseStackPage = ({ data }) => {
379+
export interface IProps {
380+
data: {
381+
atom: IGatsbyChildImageSharp
382+
brownie: IGatsbyChildImageSharp
383+
createethapp: IGatsbyChildImageSharp
384+
embark: IGatsbyChildImageSharp
385+
epirus: IGatsbyChildImageSharp
386+
ethers: IGatsbyChildImageSharp
387+
ethnode: IGatsbyChildImageSharp
388+
foundry: IGatsbyChildImageSharp
389+
ganache: IGatsbyChildImageSharp
390+
hardhat: IGatsbyChildImageSharp
391+
hero: IGatsbyChildImageSharp
392+
ogImage: IGatsbyChildImageSharp
393+
scaffoldeth: IGatsbyChildImageSharp
394+
solidity: IGatsbyChildImageSharp
395+
soliditytemplate: IGatsbyChildImageSharp
396+
truffle: IGatsbyChildImageSharp
397+
vscode: IGatsbyChildImageSharp
398+
vyper: IGatsbyChildImageSharp
399+
waffle: IGatsbyChildImageSharp
400+
web3js: IGatsbyChildImageSharp
401+
workbench: IGatsbyChildImageSharp
402+
}
403+
}
404+
405+
const ChooseStackPage: React.FC<IProps> = ({ data }) => {
379406
const intl = useIntl()
380407
const [frameworks, setFrameworks] = useState<IFramework[]>([])
381408

0 commit comments

Comments
 (0)