mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-09-20 15:19:26 +02:00
Added styled components
- also removed existing css - left the capabilities included
This commit is contained in:
12
src/infrastructure/navbar/TestComponent.tsx
Normal file
12
src/infrastructure/navbar/TestComponent.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { FunctionComponent } from "react";
|
||||
import styled from "styled-components";
|
||||
|
||||
type Props = {};
|
||||
|
||||
const TestComponent: FunctionComponent<Props> = () => {
|
||||
return <h1>TestComponent</h1>;
|
||||
};
|
||||
|
||||
const StyledTestComponent = styled(TestComponent)``;
|
||||
|
||||
export { StyledTestComponent as TestComponent };
|
Reference in New Issue
Block a user