-
Notifications
You must be signed in to change notification settings - Fork 0
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
docs(storybook): update data table #841
Conversation
Storybook for this build: https://ds.equisoft.io/pr-841/ |
@@ -0,0 +1,54 @@ | |||
import { Table } from '@equisoft/design-elements-react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<p style={{ marginBottom: '2rem' }}> | ||
Additionally, if your columns use some dependencies, you can pass them via useRef instead, so you | ||
don't have to recreate the columns object everytime the dependencies changes. | ||
</p> | ||
<Button type="button" buttonType='secondary' onClick={() => setAllowEditing(!allowEditing)}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est corrigé!
* | ||
* Additionally, if your columns use some dependencies, you can pass them via useRef instead, so you don't have to | ||
* recreate the columns object everytime the dependencies changes. | ||
*/ | ||
export const Optimization: Story = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi on appel ça Optimization
alors qu'il serait plus logique selon moi d'appeler ça Editable
, Editing
, etc. 🤔
Qu'est-ce que vous en pensez ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
L'objectif semblait de mettre en évidence l'optimisation expliquée dans le texte. Faudrait peut-être revoir le nommage et les stories elles-mêmes dans un 2e temps.
Webapp for this build: https://ds.equisoft.io/pr-841/webapp/ |
No description provided.