Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): remove duplicate headings #249

Merged
merged 1 commit into from
Nov 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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