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

Table update #44

Merged
merged 2 commits into from
Oct 12, 2015
Merged

Table update #44

merged 2 commits into from
Oct 12, 2015

Conversation

levithomason
Copy link
Member

Updates the Table component to inherit classes and spread props. Also, uses it in the PropType list on the doc site. This means the table is also responsive whereas it was not previously.


class ComponentDescription extends Component {
export default class ComponentDescription extends Component {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating old export syntax to our new standard.

@@ -59,9 +60,7 @@ class ComponentDescription extends Component {
</code>
</div>
{this.isSemanticComponent && semanticDocsLink}
</div>
</Segment>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ComponentDescription is the top section of every component doc section. It is now a basic segment so that it has a bottom whitespace. This is needed to keep whitespace between the header and prop types table segment.

@athurman
Copy link
Contributor

🐙

@eanplatter
Copy link
Contributor

WOO 🍂

levithomason added a commit that referenced this pull request Oct 12, 2015
@levithomason levithomason merged commit 9082870 into master Oct 12, 2015
@levithomason levithomason deleted the feature/prop-types-table branch October 12, 2015 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants