Add linter on CI
This commit is contained in:
@ -3,11 +3,13 @@ import AppLayout from '../AppLayout';
|
||||
import { ThemeProvider } from '@emotion/react';
|
||||
import { lightTheme } from '../styles/themes';
|
||||
|
||||
export default {
|
||||
const component = {
|
||||
title: 'AppLayout',
|
||||
component: AppLayout,
|
||||
};
|
||||
|
||||
export default component;
|
||||
|
||||
export const AppLayoutDefault = () => (
|
||||
<ThemeProvider theme={lightTheme}>
|
||||
<MemoryRouter>
|
||||
|
||||
@ -9,7 +9,7 @@ const StyledContainer = styled.div`
|
||||
align-items: center;
|
||||
`;
|
||||
|
||||
function HorizontalyAlignedContainer({ children: children }: OwnProps) {
|
||||
function HorizontalyAlignedContainer({ children }: OwnProps) {
|
||||
return <StyledContainer>{children}</StyledContainer>;
|
||||
}
|
||||
|
||||
|
||||
@ -5,11 +5,13 @@ import { ThemeProvider } from '@emotion/react';
|
||||
import NavItem from '../../../layout/navbar/NavItem';
|
||||
import { lightTheme } from '../../styles/themes';
|
||||
|
||||
export default {
|
||||
const component = {
|
||||
title: 'NavItem',
|
||||
component: NavItem,
|
||||
};
|
||||
|
||||
export default component;
|
||||
|
||||
export const NavItemDefault = () => (
|
||||
<ThemeProvider theme={lightTheme}>
|
||||
<MemoryRouter>
|
||||
|
||||
@ -4,11 +4,13 @@ import Navbar from '../Navbar';
|
||||
import { ThemeProvider } from '@emotion/react';
|
||||
import { lightTheme } from '../../styles/themes';
|
||||
|
||||
export default {
|
||||
const component = {
|
||||
title: 'Navbar',
|
||||
component: Navbar,
|
||||
};
|
||||
|
||||
export default component;
|
||||
|
||||
export const NavbarOnCompanies = () => {
|
||||
return (
|
||||
<ThemeProvider theme={lightTheme}>
|
||||
|
||||
Reference in New Issue
Block a user