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: table-component #37

Merged
merged 7 commits into from
Oct 12, 2020
Merged

fix: table-component #37

merged 7 commits into from
Oct 12, 2020

Conversation

fayez-baig
Copy link
Owner

No description provided.

//Form
export { default as Input } from './Form/Input/Input';
export { default as TextArea } from './Form/TextArea/TextArea';
export { default as CheckBox } from './Form/CheckBox/CheckBox';
export { default as Select } from './Form/Select/Select';
export { default as Radio } from './Form/Radio/Radio';
export { default as LoadingWrapper } from './Form/LoadingWrapper/LoadingWrapper';
Copy link
Collaborator

Choose a reason for hiding this comment

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

??

Copy link
Owner Author

Choose a reason for hiding this comment

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

bhai banda use kaise karega agar apun export nhi marenge to

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

Copy link
Collaborator

Choose a reason for hiding this comment

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

but what is this loading wrapper for ? I dont see its usage in Table !

Copy link
Owner Author

Choose a reason for hiding this comment

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

wo export krna bhul gaye the

import React from 'react';
import { TableCellProps } from './types';

const TableCell: React.SFC<TableCellProps> = ({ children }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

FC

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

import React from 'react';
import { TableHeadingProps } from './types';

const TableHeading: React.SFC<TableHeadingProps> = ({ children }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

FC again

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

Copy link
Collaborator

Choose a reason for hiding this comment

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

its not done yet

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

Copy link
Collaborator

Choose a reason for hiding this comment

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

I still see const TableHeading: React.SFC

import React from 'react';
import { TableRowProps } from './types';

const TableRow: React.SFC<TableRowProps> = ({ children }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

FC again

Copy link
Collaborator

Choose a reason for hiding this comment

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

here as well

Copy link
Collaborator

Choose a reason for hiding this comment

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

??

import React from 'react';
import { TbodyProps } from './types';

const Tbody: React.SFC<TbodyProps> = ({ children }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

FC again

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

import React from 'react';
import { TheadProps } from './types';

const Thead: React.SFC<TheadProps> = ({ children }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

here too

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

import React from 'react';
import { TfootProps } from './types';

const Tfoot: React.SFC<TfootProps> = ({ children }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

here as well

Copy link
Owner Author

Choose a reason for hiding this comment

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

done


//Table
export { default as Table } from './Elements/Table/Table';
export { default as Thead } from './Elements/Table/Thead';
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would name it as THead

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

export { default as Table } from './Elements/Table/Table';
export { default as Thead } from './Elements/Table/Thead';
export { default as Tfoot } from './Elements/Table/Tfoot';
export { default as Tbody } from './Elements/Table/Tbody';
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would name them as TFoot and TBody

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

@faran4engg
Copy link
Collaborator

No description provided.

The build is failing because you did not update filenames @fayez-baig

@fayez-baig fayez-baig merged commit 10a441d into develop Oct 12, 2020
@fayez-baig
Copy link
Owner Author

🎉 This PR is included in version 1.0.19 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants