Skip to content

Commit

Permalink
fix(docs): remove duplicate headings (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
deini authored Nov 11, 2019
1 parent fce3c26 commit a1d41df
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 7 additions & 1 deletion packages/docs/PropTables/CheckboxPropTable.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Text } from '@bigcommerce/big-design';
import React from 'react';

import { Code, Prop, PropTable, PropTableWrapper } from '../components';
Expand All @@ -22,5 +23,10 @@ const checkboxProps: Prop[] = [
];

export const CheckboxPropTable: React.FC<PropTableWrapper> = props => (
<PropTable title="Checkbox" propList={checkboxProps} {...props} />
<>
<Text>
Supports all native <Code>&lt;input /&gt;</Code> element attributes.
</Text>
<PropTable title="Checkbox" propList={checkboxProps} {...props} />
</>
);
6 changes: 0 additions & 6 deletions packages/docs/pages/Checkbox/CheckboxPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ export default () => (

<H1>API</H1>

<H2>Checkbox</H2>

<Text>
Supports all native <Code>&lt;input /&gt;</Code> element attributes.
</Text>

<CheckboxPropTable />

<H1>Indeterminate</H1>
Expand Down
1 change: 0 additions & 1 deletion packages/docs/pages/Grid/GridPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export default () => (

<H1>API</H1>

<H2>Grid</H2>
<GridPropTable />
<GridItemPropTable />

Expand Down

0 comments on commit a1d41df

Please sign in to comment.