As the Mesh class is actually no component you have to do this via the MeshFilter component:
private MeshFilter filter;
private Mesh mesh;
filter = EditorGUILayout.ObjectField("Mesh", filter, typeof(MeshFilter)) as MeshFilter;
if(filter != null)
mesh = filter.mesh;
// Do some stuff with the mesh
Now you can simply drag any GameObject to your exposed field.