Skip to content

Commit

Permalink
fix(container): add prop type div to the component
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Nov 20, 2023
1 parent 05d6be0 commit f5f2f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/foundation/grid/Container.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';

export type ContainerChildren = React.ReactNode[] | React.ReactNode | string;

export type ContainerAs = 'article' | 'aside' | 'header' | 'footer' | 'main' | 'nav' | 'section';
export type ContainerAs = 'article' | 'aside' | 'div' |'header' | 'footer' | 'main' | 'nav' | 'section';

Check failure on line 5 in src/components/foundation/grid/Container.d.ts

View workflow job for this annotation

GitHub Actions / tests

Operator '|' must be spaced

export interface ContainerProps {
/**
Expand Down

0 comments on commit f5f2f51

Please sign in to comment.