get props from text