Add code sample for tooltip