Commit 32f49814 authored by Mickaël Bourgier's avatar Mickaël Bourgier
Browse files

📝 [ListItem] Fix `clickable` prop is actually not deprecated

parent b3bcfa4f
Pipeline #1523 passed with stage
in 53 seconds
......@@ -108,8 +108,8 @@ ListItem.propTypes = {
className: PropTypes.string,
/**
* @deprecated
* Donne l'impression que l'élément est cliquable
* Donne l'impression que l'élément est cliquable, à utiliser lorsque
* `onClick` n'est pas défini (par exemple dans le cas d'un lien)
*/
clickable: (props, propName, componentName, location, propFullName) => {
const componentNameSafe = componentName || '<<anonymous>>';
......@@ -120,7 +120,7 @@ ListItem.propTypes = {
`A falsy value in \`${propFullNameSafe}\` ${location} of ` +
`\`${componentNameSafe}\` will be ignored in v2.0 when the ` +
`\`onClick\` prop is defined. Do not set a falsy value when ` +
`\`onClick\` is defined. See ` +
`\`onClick\` is defined to turn off this warning. See ` +
`https://git.webalternatif.com/webf/react-webf/issues/28 for more ` +
`infos.`
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment