Added status label, fixed JSdoc

This commit is contained in:
Alex Holliday committed 2024-05-07 14:22:39 -07:00
1 parent f8828fe6e8
commit 6359fd52b6
7 files changed
+162 -67

No files matched your search

+4 -4
View File
@@ -21,10 +21,10 @@ const levelConfig = {
};
/**
* @typedef {Object} Props
* @property {'primary' | 'secondary' | 'tertiary' | 'error'} level - The level of the button
* @property {string} label - The label of the button
* @property {boolean} [disabled] - Whether the button is disabled
* @param {Object} Props
* @param {'primary' | 'secondary' | 'tertiary' | 'error'} level - The level of the button
* @param {string} label - The label of the button
* @param {boolean} [disabled] - Whether the button is disabled
*/
const Button = ({ level, label, disabled }) => {