added default functions for weidth and height in Axis component