Setting up first table in frontend
This commit is contained in:
15
front/src/components/table/TableHeader.tsx
Normal file
15
front/src/components/table/TableHeader.tsx
Normal file
@ -0,0 +1,15 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
type OwnProps = {
|
||||
viewName: string;
|
||||
};
|
||||
|
||||
const StyledTitle = styled.div`
|
||||
display: flex;
|
||||
`;
|
||||
|
||||
function TableHeader({ viewName }: OwnProps) {
|
||||
return <StyledTitle>{viewName}</StyledTitle>;
|
||||
}
|
||||
|
||||
export default TableHeader;
|
||||
Reference in New Issue
Block a user