MCPcopy Create free account
hub / github.com/bbachi/react-dotnet-example / Header

Function Header

ClientApp/src/components/Header.js:3–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import React from 'react';
2
3export const Header = () => {
4
5 const headerStyle = {
6
7 width: '100%',
8 padding: '2%',
9 backgroundColor: "yellowgreen",
10 color: 'black',
11 textAlign: 'center'
12 }
13
14 return(
15 <div style={headerStyle}>
16 <h1>React With .NET</h1>
17 </div>
18 )
19}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected