The maximum recommended RISET resistor value is 39kOhm for a max current of 24mA. The Electrical Characteristics Table mentions a maximum LED sink current of 30mA but this is guaranteed across temperature and process variations. It is recommended to use a lower value of 39kOhm to set the limit at 24mA to ensure the device is not damaged when the temperature increases such that the current might go above 30mA if using a higher set current limit. Permanent damage might happen to the part when sinking more than 30mA.