# `` Allows you to show an "exit" animation when un-mounting your component. An `exiting` prop with value `true` will be injected in your component when it is being unmounted. `ExitSensor` expects a single child component with `key` prop specified. The `key` prop is used to identify components. ## Usage ```jsx import {ExitSensor} from 'libreact/lib/ExitSensor'; {isRectangle ? : } ``` , where ```jsx const Rectangle = ({exiting}) => { return (
); }; ``` ## Props - `time` — number, optional, time in milliseconds how long to still show the old component after it has been replaced by a new one. Defaults to `200`.